I can open text file but How i open new folder in c++?
1 2 3 4 5 6 7 8 9 10 11 12
|
// basic file operations
#include <iostream>
#include <fstream>
using namespace std;
int main () {
ofstream myfile;
myfile.open ("example.txt");
myfile << "Writing this to a file.\n";
myfile.close();
return 0;
}
|
Last edited on