Click to See Complete Forum and Search --> : How could I write a EOF into a file?


cntomcom
January 5th, 2003, 08:42 PM
The end of a file is EOF, but if I want to insert EOF into somewhere else of a file, how could I do??

TheCPUWizard
January 5th, 2003, 08:43 PM
There are only a few file formats that use an EOF character marker.

You should probably post more information. The standard EOF marker for text type files has an ASCII calue of 26 (ctrl-Z).

cntomcom
January 5th, 2003, 10:36 PM
if My file dosen't have a format or extension name, then does it
have a EOF?
For example, my file is "111" and the content of the file is as follow:

string1
string2
...
stringn

TheCPUWizard
January 6th, 2003, 06:29 AM
Best way to check is with a raw hex file editor....

cntomcom
January 6th, 2003, 08:59 AM
What do you mean? Can you give a example?