哪位既懂英语又会电脑的大侠,帮我看看这使那里错了?

这是我调试c程序(用vc6.0)里不断出的错。一直查不出来。
# include"stdio.h"

main()
{
printf("zhnghao is bendan.");
}
就只有这么简单,也出错。(我是新手)错误如下:
Compiling...
c1.c
Command line error D2027 : cannot execute 'c1'
Error executing cl.exe.

c1.obj - 1 error(s), 0 warning(s)
这是怎么回事,请尽量早点告知我(补:我查了一下msdn6.0里面有讲这谢请大侠告诉我他在说什么?
Command-line Error D2027
cannot execute 'component'

The compiler could not run the given compiler component or linker.

One of the following may have occurred:

1 Not enough memory was available to load the component. If this error occurred when NMAKE invoked the compiler, run the compiler outside of the makefile.

2 The current operating system could not run the component. Make sure the path points to the executable files appropriate to your operating system.

3 The component was corrupted. Recopy the component from the distribution disks, using the SETUP program.

4 An option was specified incorrectly. For example, the following CL command generates this error:
cl /B1 file1.c

从前面的提示来判断是编译程序无法创建C1.exe文件,估计是你的C++程序的默认目录没有设置好。
后面的全部英文我也没有办法翻译。
大致好象是:
1、内存不足,无法调用编译程序;
2、文件路径没有设置正确,请设置正确的路径;
3和4我无法理解,懒得去金山那去翻译了,不过应该是你的编译目录没有设置对才会出现这样的结果。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2008-04-10
这段代码你应该写为:
# include <stdio.h>
void main()
{
printf("zhnghao is bendan.\n");
}
第2个回答  2008-04-10
我看你才是大侠
第3个回答  2008-04-10
zhnghao is bendan不是**是笨蛋的拼音吗。
相似回答