标签:
1 #include <stdio.h> 2 3 void main() 4 { 5 printf("Hello World!\n"); 6 }
几乎学习任何语言接触到的第一个语言都是Hello World!
先是头文件.(stdio.h是standard input and output的缩写)
然后是主函数,主函数名称一定是main.
主函数内部调用printf()函数输出字符串:Hello World!
标签:
原文地址:http://www.cnblogs.com/FrogIf/p/5934927.html