C语言

C语言

1. Hello world

vi hello_world.c
#include <stdio.h>
int main() {
   printf("Hello, World!n");
   return 0;
}
gcc hello_world.c -o hello_world
./hello_world
# Out: Hello, World!

发表评论

滚动至顶部