ios::app vs ios::ate mode in file handling? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

ios::app vs ios::ate mode in file handling?

In cpp I am kind of confused over these term i know app flag is used to append data at the end of a file but ate also does that so what's the difference?

9th Feb 2018, 9:08 PM
3D CrackerJack
3D CrackerJack - avatar
6 Answers
+ 5
edit ate has more features a resource/reference https://www.tutorialspoint.com/cplusplus/cpp_files_streams.htm
10th Feb 2018, 5:46 AM
Manual
Manual - avatar
+ 6
10th Feb 2018, 6:43 AM
Manual
Manual - avatar
10th Feb 2018, 6:45 AM
Manual
Manual - avatar
+ 4
Do you code on an IDE?
10th Feb 2018, 5:44 AM
Manual
Manual - avatar
+ 3
Yeah i use code blocks most of the time
10th Feb 2018, 6:39 AM
3D CrackerJack
3D CrackerJack - avatar
+ 3
The article doesn't provide sufficient info ......
10th Feb 2018, 6:40 AM
3D CrackerJack
3D CrackerJack - avatar