下面程序为什么显示unable to create directory
来源:百度知道 编辑:UC知道 时间:2024/06/22 17:01:31
#include<stdio.h>
main()
{system("md c:\\a\\b");}
main()
{system("md c:\\a\\b");}
我帮你用VC2003调试了一下,语法没问题,在我的机器上运行也没问题。
你需要查看你的权限是否支持你在c:建立目录,可以通过在命令行直接运行命令,查看结果。
还有,你的c:\a\b中a和b是不是仅是简称?如果是简称请全写出来,才能够判断,因为不是什么目录名都能用于创建的。
程序没有问题,也许是权限问题。
没有权限?你md换成mkdir试试
C程序编完后为什么会出现“unable to open inclede file 'stdio.h'”?
我装的C++运行程序时总显示“unable to open include file 'iostream.h'”
c语言中为什么要运行一个程序是老是出现 unable to open input file 'cos.obj'
为什么TC总是显示"Unable to open input file 'COS.OBJ',而不运行程序?
C、D、E盘都打不开,一打就显示unable to write to 怎么解决???
TC2.01英文版环境下,我运行程序,显示错误:unable to create output file 'c:\output\某文件.obj'
在写完c程序后,总是提示:unable to open input file 'cos. obj '???
问一下用TC编完程序再编译时为什么显示unable to open include <stdio.h>?谢谢了
为什么turbo C中输入#include<stdio.h>后调试时会显示unable to open include file "stdio.h"?
为什么运行程序时总出现“unable to open STDIO.H"