C语言需要被编译才能运行,一般需要编译器和解释器
Dev_Cpp资源:
链接:https://pan.baidu.com/s/1ZjLHVfs-7Wf6cERJyAUCXg
提取码:2378
Dev_Cpp的使用:
打开->文件->新建->源代码
编写HelloWorld代码:
#include <stdio.h>
int main()
{
printf("Hello World!\n");
return 0;
}
Ctrl+s 以C source files保存源代码
F9 进行编译
F10 运行程序
F11 编译+运行
程序框架:
#include <stdio.h>
int main()
{
return 0;
}
编程注意事项:
1.句尾使用“;”
2.使用中文输入法