Linux下C语言之HelloWorld
开始学习C语言,记得N年前学过点,不过早就忘得差不多了,今天决定开始重新学习下C,但是现在的学习环境是在Linux环境下,好了,我们来开始第一个HelloWorld吧。[root@localhost ~]# vi main.c #开始新建文件#include <stdio.h> #文件头int main(void){ printf("Hello ,world.
"); return 0;}~~~"main.c" [New] 8L, 79C wr...