入门第一例:
#include <stdio.h>
main()
{
printf("hello,world\n");
}
下面一个例子与上面的等价:
#include <stdio.h>
main()
{
printf("hello,");
扫描二维码关注公众号,回复:
7757611 查看本文章
![](/qrcode.jpg)
printf("world");
printf("\n");
}
其中printf函数永远不会自动换行,这样我们可以多次调用它以分阶段得到一个长的输出行。