第一个C语言程序
新建一个c文件:vi a.c
#include <stdio.h>
int main()
{
printf("hello world!\n");
return 0;
}
编译c语言程序:cc a.c -> 生成 a.out
执行c语言程序:./a.out -> hello world!
新建一个c文件:vi a.c
#include <stdio.h>
int main()
{
printf("hello world!\n");
return 0;
}
编译c语言程序:cc a.c -> 生成 a.out
执行c语言程序:./a.out -> hello world!