Compile a C++ program in MacOS Catalina terminal, create an “executable”. Run the “executable” in another computer in a MacOS terminal (stack here)

后端 未结 0 535
陌清茗
陌清茗 2021-02-15 20:52

I wrote a simple C++ code and compiled it in the terminal:

g++ main.cpp -o MyGame

I can execute it perfectly in the terminal:

./My         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题