mac在终端运行C++文件

g++ -o test
./ test
g++编译程序的时候要保证程序在当前目录下

posted @ 2023-02-28 20:21  Travelever  阅读(72)  评论(0)    收藏  举报