如何在linux系统下运行c源码呢,进行以下的操做:linux
一、编写代码,而且以.c问后缀:源码
二、代码以下:io
#include <stdio.h> int main(){ printf("hello world\n"); return 0; }编译
三、编译 gcc -o hello hello.cgcc
四、./hello 运行成功!!! gc