在c++中编译c出现*file != _T('\n')
来源:百度知道 编辑:UC知道 时间:2024/06/14 18:23:06
出错提示http://hiphotos.baidu.com/wangxvwang/pic/item/24cf68196cc63e66dbb4bdfe.jpg
如果需要看源程序的请留下邮箱先谢谢各位了
如果需要看源程序的请留下邮箱先谢谢各位了
a7060108@163.com
在fopen.c中这一条语句是_ASSERTE(*file != _T('\0'));
这是一句断言,意思是说你传给fopen的文件名不能是空字符串。
你应该是用了fstream
fstream在打开文件的时候只能使用Cstring,就是说文件名的string的后面必须有'\0'...否则会出错....
为什么我在用Borland C 3 编译的时候总是出现unable to open include file 'IOSTREAM'的报错
在C语言编译过程中,出现 。请问是不是缺少什么函数呀?该怎么处理?
在刚下载的dev-c中编译好代码,再运行时显示"Sourse file not compiled" 怎么解决? 谢谢你的帮助!
在c++中,编译时出现fatal error C1004: unexpected end of file found是什么意思?
c编译时为什么总是出现“link error: unable to find input file ' cos.obj ' ”?
linux中进行程序编译时 gcc -g file.c -o myprog 是什么意思,能 产生什么结果?谢谢!
在Turbo C中调试程序时出现unable to open input file 'xxxx'怎么办
在C/C++中,什么叫编译单元?
如何在Visual Studio2005中直接编译c源代码
C 中的程序代码在C++中能正常编译吗