I would like to store1 to 4 TXT file content clear,,
CodePudding user response:
Fopen (" your file name ", "w");Open the success is empty,
CodePudding user response:
Is the cause of the error file variable name repetition to try try changing the file to other namesCodePudding user response:
Ah,,, each fstream file... Statements with big parentheses, example as follows:{ fstream file (" E: \ \ ks \ \ store1 TXT ", the ios: : out); }
CodePudding user response: