What is file mode in c++ ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is file mode in c++ ?

anyone explain this to me guys..

18th Nov 2016, 1:06 AM
Bhairesh M
Bhairesh M - avatar
3 Answers
0
What exactly do you mean by file mode? Do you mean things like fstream objects?
18th Nov 2016, 1:08 AM
scott johnson
scott johnson - avatar
0
no it's iOS concept..
18th Nov 2016, 1:11 AM
Bhairesh M
Bhairesh M - avatar
0
you mean 'read-only' (you cannot modify the file contents, only read them), 'write' (you can overwrite the file contents in this mode), 'append' (when you write to the file, the new content is appended to the old contents), 'binary' (you work with the file in non-text mode - for instance, editing a music file).
18th Nov 2016, 6:48 AM
Rill Chritty
Rill Chritty - avatar