破釜沉舟论坛 » 编程开发 » 大鸟帮我看看怎么回事

2008-4-22 14:51 herosue
大鸟帮我看看怎么回事

#include<fstream>
using namespace std;
int main()
{ifstream ins;
ins.open("D:\Program Files\Microsoft Visual Studio\sue\sue.dat");
ins.close();
return 0;
}
======================这是程序
=========================================================
Loaded 'ntdll.dll', no matching symbolic information found.
Loaded 'C:\WINDOWS\system32\kernel32.dll', no matching symbolic information found.
The thread 0xD1C has exited with code 0 (0x0).
The program 'D:\Program Files\Microsoft Visual Studio\game\Debug\Cpp1.exe' has exited with code 0 (0x0).
======================这是DEBUG



为什么会这样呢?我想要用   ifstream  创个文件  以后好练习写入。。
大家来帮我看看。。

页: [1]
查看完整版本: 大鸟帮我看看怎么回事


Powered by Discuz! Archiver 5.5.0  © 2001-2006 Comsenz Inc.