编译
gcc hello.c
运行
./a.out
将源程序文件编译成指定文件
gcc hello.c -o hello
多文件编译
gcc hello1.c hello2.c -o hello
本文共 147 字,大约阅读时间需要 1 分钟。
编译
gcc hello.c
运行
./a.out
将源程序文件编译成指定文件
gcc hello.c -o hello
多文件编译
gcc hello1.c hello2.c -o hello
转载于:https://my.oschina.net/u/1771419/blog/1608430