如何在linux中运行c++程序

2025-05-01 14:01:56
推荐回答(1个)
回答1:

首先你要有编译器
然后 c语言 gcc test.c -o test
./test
c++
g++ test.C -o test
./test