學習C語言,輸出hello world

C語言做爲一門編譯型語言,須要使用編譯器編譯才能執行,Centos上,咱們使用gcc來編譯C語言,vim 一、安裝gccbash yum -y install gcc 二、編寫一個C文件,讓其可以輸出hello world:code vim helloworld.c #include <stdio.h> int main() { printf("Hello World!\n"); //返回狀態
相關文章
相關標籤/搜索