Emacs是一个编辑程序(editor),跟C语言没多大关系。 (1).写程序 cat hello.c main(){ printf("Hello, world!\\n"); } EOF (2).编译 gcc -o hello hello.c (3).运行程序 ./hello