G++ 编译多个源文件

g++ -c *.cpp

g++ graph.o maxflow.o test.o -o test  // 链接顺序必须写对

posted @ 2019-05-16 09:07  佰大于  阅读(662)  评论(0)    收藏  举报