Код: Выделить всё
ifstream userReadFile("tableData.txt");
while (1) {
userReadFile >> n >> firstName >> userName >> password;
if (userReadFile.eof()) break;
cout
Подробнее здесь: [url]https://stackoverflow.com/questions/78185914/fetching-value-from-file-and-incrementing-it-by-one-in-c[/url]
Мобильная версия