Код: Выделить всё
void writeValue(char* file, int value){
ofstream f;
f.open(file);
if (f.good()){
f
Подробнее здесь: [url]https://stackoverflow.com/questions/18934538/ofstream-writing-an-element-into-a-file-c[/url]Код: Выделить всё
void writeValue(char* file, int value){
ofstream f;
f.open(file);
if (f.good()){
f
Подробнее здесь: [url]https://stackoverflow.com/questions/18934538/ofstream-writing-an-element-into-a-file-c[/url]