why?
#include <fstream>
#include <iostream>
using namespace std;
void main()
{
fstream file;
file.open( "text.txt", ios::in)
int User, char Adress[13], char Server[5];
file>>User>>Adress>>Server;
file.close();
system("pause");
}
编译报错:
Compiling...
readFile.cpp
e:\c++\readfile.cpp(15) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Error executing cl.exe.
readFile.dll - 1 error(s), 0 warning(s)
???why??