Привет. Вот следующий код:
Код: Выделить всё
#define _CRT_SECURE_NO_WARNINGS
#include
#include
using namespace std;
int main() {
freopen("input.txt","r",stdin);
int a,b;
cin >> a >> b;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/79350104/c-cant-create-txt-files[/url]
Мобильная версия