C的温习-开头篇1
编译运行C语言可以用很多软件MicrosoftVisualC++、MicrosoftVisualStudio、DEVC++、Code::Blocks、BorlandC++、WaTComC++、BorlandC++Builder、GNUDJGPPC++、Lccwin32CCompiler3.1、HighC、TurbC、gcc、C-Free和Win-TC、MyTc等等。参见http://m.elecfans.com/article/627875.html
直接在DOS下运行可看,参见https://www.jianshu.com/p/ff6f2a2bf75a
主要格式:
#include<studio.h> //编译预处理命令
int main(){
printf(“hello”);
}
知识点:
1、studio.h是系统的文件名。studio是standard input & output 的缩写 ,.h代表头文件的意思
2、\\单行注释
3、\* */块式注释
4、%d代表输出格式为十进制整数
5、scanf();//输入函数,
6、printf();//输出函数。
浙公网安备 33010602011771号