Answers for "how to open a file in relation to the c++ file 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

Browse Popular Code Answers by Language