Answers for "stream for both writing and reading in c++"

C++
0

write to file in C++

ofstream myfile;
myfile.open("file.txt");

myfile << "write this to file"
Posted by: Guest on July-01-2020

Code answers related to "stream for both writing and reading in c++"

Browse Popular Code Answers by Language