linux c++编译问题和虚拟机网络通信 1.gcc main.cpp -lstdc++ -o test5 2. service network stop service NetworkManager restart