0
Difference between IOS::out and IOS::trunc.
differences between a program using iOS::out and IOS::trunc
1 Answer
0
These ones are just flags to use when you open a stream, for example the file. Out flag means that you want to open the file to write in it. Trunc flag means that the file's old content will be erased when you open it. Notice please, that you can use both these flags when opening file.