I want to read from the file element, element there are both int and char, then the output element
Such as the elements in the file is 2, 3, 5 * 10 +/- 2
I'd like to file the elements in the read output again after them, but I don't know what was wrong with this code
Ifstream in;
In the open (" E:/c.t xt ");
int a;
Char b;
while(! In the eof ())
{the while (in> A)
Cout
b;
Cout}
Please everyone a great god give directions, best can point out errors, and write the correct code, very grateful! CodePudding user response:
in the open (" E: \ \ c.t xt ");
CodePudding user response:
The end of this post - _ - 2 l CodePudding user response: