编译单个程序 g++ linux_1.cpp -o linux_1 -lpthread ./linux_1 编译多个程序 g++ -o test S.cpp C.cpp linux_1.cpp ./test