【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进入编辑模式

posted @ 2016-12-31 14:27  Macaulish  阅读(188)  评论(0编辑  收藏  举报