代码原理 源码: 命令列表:vi test.c 输入上述源码后编译命令:gcc test.c -o test 运行:./test hello.c ps:hello.c为事先准备好的文件 结果: 成功打印出hello.c中的内容