ofstream a_file ("filename"); The constructor for both classes will actually open the file if we pass the name as an argument: example: ifstream b_file ( ...
確定! 回上一頁