1.1 Getting started
Example 1-1
#include <stdio.h> /*include information about standard library*/
main( ) /*define a function named main that receives*/
/*no argument values*/
{
printf(“Hello, World ! \n”);
/*main calls library function printf to print this sequence of
characters; \n represents the new line character*/
}
Main function 主函数
Function body in { }
Library file 库文件
; as the end of statement
Comment /* … */ 注释
评论0
最新资源