Can we write an EOF character ourselves?

Posted by Apoorv on Stack Overflow See other posts from Stack Overflow or by Apoorv
Published on 2010-06-17T11:13:54Z Indexed on 2010/06/17 11:23 UTC
Read the original article Hit count: 138

Filed under:
|

Most of the languages like C++ when writing into a file, put an EOF character even if we miss to write statements like :

filestream.close

However is there any way, we can put the EOF character according to our requirement, in C++, for an instance. Or any other method we may use apart from using the functions provided in C++.

If you need to ask more of information then kindly do give a comment.

Thanks in advance.

© Stack Overflow or respective owner

Related posts about c++

Related posts about eof