Answer the question
In order to leave comments, you need to log in
How to work with directories from a console application in c++?
How to select a directory in the console? After js, php is not entirely clear with the syntax( Is there documentation with all the properties and methods?
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
setlocale(LC_ALL, "ru");
ofstream fout;
fout.open("myFile.txt");
int text;
cin >> text;
system("pause");
return 0;
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question