1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
string c2 = "checkpoint2.txt";
string c3 = "checkpoint3.txt";
string c4 = "checkpoint4.txt";
string c5 = "checkpoint5.txt";
string c6 = "checkpoint6.txt";
string c7 = "checkpoint7.txt";
string c8 = "checkpoint8.txt;
string c9 = "checkpoint.txt";
int main(){
ofstream text;
cin>>path;
text.open(path + c2);
text<<"2,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c3);
text<<"3,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c4);
text<<"4,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c5);
text<<"5,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c6);
text<<"6,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c7);
text<<"7,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c8);
text<<"8,0,0\n0,0,0\n0,0,0";
text.close();
text.open(path + c9);
text<<"9,0,0\n0,0,0\n0,0,0";
text.close();
}
|