[求助]求教C语言问题
为什么在tc2.0中下面程序运行不成功? #include<stdio>
main()
{
FILE *p;
if((p=fopen("d:\aa.txt","r+"))==NULL)
{
printf("cannot open file");
exit 0;
}
}
运行结果总是:cannot open file。(其中文件d:\aa.txt存在)。
2007-05-12 21:53

2007-05-12 22:02

2007-05-12 22:05
2007-05-12 22:08
2007-05-14 18:25
[此贴子已经被作者于2007-5-14 18:43:41编辑过]
2007-05-14 18:40
2007-05-14 18:45
2007-05-16 19:10