Sixty years into the computer age, we still aren't checking basic things like the success of opening a file or whether memory allocation succeeds.
计算机的诞生已进入了六十个年头,我们仍旧没有检查基本的东西,如成功打开一个文件及内存分配是否成功。
This information can be used for various purposes, such as verifying the unzipped file size or just creating a listing of the contents of a zip file without opening it.
这些信息可用于各种目的,例如检验解压缩后的文件大小或只创建ZIP文件的内容清单而不打开它。
While this simple example of opening a file is still pretty understandable, things have definitely gotten more complicated.
这个简单的例子中,打开文件的代码还是容易理解的,不过接下来事情就很明显地变得愈来愈复杂了。
If an applet is bundled in a JAR file, the applet's class files and associated resources can be downloaded by a browser in a single HTTP transaction, instead of opening a new connection for each file.
如果一个applet捆绑到一个JAR文件中,那么浏览器就可以在一个HTTP事务中下载这个applet的类文件和相关的资源,而不是对每一个文件打开一个新连接。
These scripts might execute a loop, or perhaps open a long list of files, forgetting to close the current file before opening a new one.
这些脚本可能执行循环,也可能打开一张长的文件列表,忘记在打开新文件之前先关闭当前文件。
In addition, you should avoid using a lot of external entities — such as external DTDs or imported XML Schemas — since opening and reading from a file is an expensive operation.
此外,还应避免使用大量的外部实体——例如外部DTD或导入的XML模式,因为打开和读取文件是代价很高的操作。
Opening the magical filehandle in Perl, opens every argument passed to Perl as a filename and reads in the contents of each file line by line.
在Perl中打开神奇的文件句柄(filehandle),这会将传送给Perl的每个参数作为文件名打开并逐行读取每个文件的内容。
This function is a high-level way of opening a file; but, since the only way to open a file in Linux is to use the open system call, fopen makes use of open in its implementation.
该函数是打开文件的高层次方式;但是,因为在Linux中打开文件的唯一方法是使用open系统调用,所以fopen在其实现中利用open 。
Before opening a version of a source file with the Send to command on the shortcut menu, you must add an application's shortcut to your Send to folder.
在使用快捷菜单中的“发送到”命令来打开源文件时,你必须添加一个应用程序的快捷方式到你的“发送到”文件夹。
Ensure the file you are opening is a member of a project, and then try to open the file again.
确保正在打开的文件是项目的一个成员,然后再次尝试打开此文件。
Also, when you are opening a file, you can see a preview of it to the right of the open dialog box.
此外,当你打开一个文件,你可以看到一个预览版,它以权公开对话框。
In accordance with what is shown on the screen, the user sets parameters for, for example, opening a new file and displaying the image of a predetermined file.
根据此屏幕上所显示的内容,用户设定例如为打开一新文件和显示一预定文件的图形的参数。
In accordance with what is shown on the screen, the user sets parameters for, for example, opening a new file and displaying the image of a predetermined file.
根据此屏幕上所显示的内容,用户设定例如为打开一新文件和显示一预定文件的图形的参数。
应用推荐