Emacs是一個編輯程序(editor),跟C語言沒多大關係。 (1).寫程序 cat hello.c main(){ printf("Hello, world!\\n"); } EOF (2).編譯 gcc -o hello hello.c (3).運行程序 ./hello