注册 登录
编程论坛 C++教室

CMD编译中出现 command line erro D2027 : cannot execute ‘c1’

小辉淘呀淘 发布于 2010-09-15 01:45, 1612 次点击
command line erro D2027 : cannot execute ‘c1’

这句是什么意思呢? 很迷茫。

我是初学者,看到网上有个教程中说道,新建一个文本文档.txt  重命名为 HelloWorld.c

其中代码为
main()
{

 printf("我的第一个程序\n");
}

打开cmd 找到 HelloWorld.c

例如:
c:\Documents and Settings\Administrator>cd 目录

目录>cl HelloWorld.c

结果出现以下截图的样子

只有本站会员才能查看附件,请 登录


我想编译的 HelloWorld.c 并没有编辑出来,不知道怎么办了。迷茫
3 回复
#2
mxs8102010-09-15 11:54
cl.exe没有被执行,下面的链接,供你参考:http://apps.hi.baidu.com/share/detail/2526740
#3
小辉淘呀淘2010-09-15 16:46
谢谢你
#4
小辉淘呀淘2010-09-15 17:19
回复 2楼 mxs810
command line erro D2027 : cannot execute ‘c1xx’

新的提示语!  我把以前的 .c 改成.cpp  出现了这个!

1