why?

tianyxy 2004-03-11 08:29:15
#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??
...全文
37 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧