用gcc/g++编译运行C/C++程序

编译code

gcc hello.c

运行编译

./a.out

将源程序文件编译成指定文件gcc

gcc hello.c -o hello

多文件编译gc

gcc hello1.c hello2.c -o hello
相关文章
相关标签/搜索