【Ubuntu】编写一个c语言代码

安装

sudo apt-get  build-depgcc

coding:http://www.cnblogs.com/zero1665/archive/2009/11/03/1595510.html

简单来说

gedit 1.c          ///创建

gcc 1.c -o 1     ////编译

./1                 ////运行
rm 1.c           ////删除

i进入编辑模式

原文地址:https://www.cnblogs.com/Macaulish/p/6239230.html