Linux下怎麼編譯並運行C程序

好比打印一個"hello world"vim 很簡單的代碼以下:命令行 #include<stdio.h> #include<stdlib.h> int main() {         printf("hello world\n");         exit(0); }blog   咱們先vim test.cit 進入後把代碼寫進去io 保存退出後在命令行輸入gcc -o test test.
相關文章
相關標籤/搜索