The snippets of code listed in this paper were designed, and tested, for use within the UNIX and DOS Command Line Environment and were complied using The GNU gcc project and DJGPP. A working knowledge of the syntactic nature of C++ is assumed.
Continue reading about C++ Streaming Input and Output Manipulation
Part 2 of File I/O in C++ tutorial. This section tells about Checking the I/O status, Dealing with Binary files and about some useful functions.
This tutorial will start with the very basis of File I/O (Input/Output) in C++. After that, I will look into aspects that are more advanced, showing you some tricks, and describing useful functions.
You need to have good understanding of C++, otherwise this tutorial will be unfamiliar and not useful to you!