Answers for "ifstream and ofstream"

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

Browse Popular Code Answers by Language