下面的示例显示如何读到文件尾。
The following example shows how to read to the end of the file.
这避免了在读取超过文件尾时引发的异常。
This avoids the exception that is thrown if you read past the end of the file.
文件尾不要加入新行。
返回:若成功为指针,出错或文件尾为NULL ?
例如,在读取文件的过程中,希望在某个特定点到达文件尾。
For example, in the course of reading from a file, it is expected the end of the file will be reached at some point.
很多工具将这些字节解释为文件尾或者其他某种特殊的分界符,造成不希望的、未曾预料到的、常常是不愉快的结果。
More than a few tools interpret these bytes as end-of-file or some other special delimiter, with unexpected, unanticipated, and generally unpleasant effects.
在这种情形之下,打算自己修补有这种Y2K差错的本就写得不好的软件可能会走极端,而且故意地把文件尾的值9999读作日期,并将其明确转变为1999年的一天。
In this scenario, ill-written software itself intended to patch the Y2K glitch might go overboard and read an intentional 9999 end-of-file value as a date and convert it into an explicit 1999 date.
她从头至尾处理了那一堆文件。
此外还支持在生成的文件中添加相同的页头和页尾。
Out of the box it supports useful things like common headers and footers that are applied to all files in the set.
如果您要从尾到头读取文件的内容(例如,为了分析日期从近到远排列的日志记录),那么使用CPAN模块File:ReadBackwards。
If you need to read the contents of a file backwards (for instance, to analyze a log in reverse order), use the CPAN module file: : ReadBackwards.
复制这个密钥文件的内容(不包括头ssh-rsa和尾rsa-key - 20091222)并将其粘贴到keycontents字段。
Copy content of the key file (excluding the header ssh-rsa and the endnote rsa-key-20091222) and paste it to the key contents field.
单击addakey,复制这个密钥文件的内容(不包括头ssh-rsa和尾rsa - key - 20091222)并将其粘贴到key contents字段。
Click Add a key, copy content of the key file (excluding the header ssh-rsa and the endnote rsa-key-20091222) and paste it to the key contents field.
例如,普通文件应该有一条尾记录,说明文件中的总记录数,以及关键字段的合计。
For example, flat files should have a trailer record telling the total of records in the file and an aggregate of the key fields.
而且ReiserFS也包括了以尾文件为中心的特殊优化—尾文件是指那些比文件系统块小的文件及文件结尾部分。
And ReiserFS also includes some special optimizations centered around tails, a name for files and end portions of files that are smaller than a filesystem block.
实际上,带有尾文件压缩功能(默认)的ReiserFS文件系统可以比同等的ext2文件系统多存储6个百分点的数据,这就其自身来说是令人惊叹的。
In fact, a ReiserFS filesystem with tail packing enabled (the default) can store six percent more data than the equivalent ext2 filesystem, which is amazing in itself.
然而,由于在文件被修改时,尾文件压缩迫使ReiserFS重装数据,这就导致了性能上的轻微折损。
However, tail packing does cause a slight performance hit since it forces ReiserFS to repack data as files are modified.
第二,ReiserFS能够压缩尾文件,节省大量磁盘空间。
Second, ReiserFS is able to pack the tails together, saving a lot of space.
我已把这文件从头至尾看了三遍,却仍然不解其意。
I have read the document through three times, but I can't make head or tail of it.
我已把这文件从头至尾看了三遍,却仍然不解其意。
I have read the document through three times, but I can't make head or tail of it.
应用推荐