编程序那里不对了?

来源:百度知道 编辑:UC知道 时间:2024/05/30 23:55:50
#include <stuio.h>

main()
{
prinft("Hello,world\n");
getch();
}

用的是win-tc
改过了,但还是编译失败???
我怀疑是不软件出问题了,我直接把你的copy过去,也不行。
“错误:不正确的 配置文件 选项:?”

那就是你用的Win-TC有问题了,你再去天空下一个试试
下载地址:http://www.skycn.com/soft/17869.html

那再改下,如果不行,你把错误信息贴出来看看
是stdio.h,不是stuio.h
晕,printf,不是prinft
还有,如果要用getch(),要加上conio.h
#include <stdio.h>
#include <conio.h>
void main()
{
printf("Hello,world\n");
getch();
}

呵呵.要细心一点.
#include <stdio.h>

main()
{
printf("Hello,world\n");
getchar();
}

tc的类包要自己配置的,比较麻烦.
下一个自动配置的tc好了
或者就用VC吧