Answers for "ifstream 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
0

c++ ifstream open

void open (const   char* filename,  ios_base::openmode mode = ios_base::in);
void open (const string& filename,  ios_base::openmode mode = ios_base::in);
Posted by: Guest on June-06-2021

Browse Popular Code Answers by Language