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

后端 未结 0 696
慢半拍i
慢半拍i 2021-02-15 20:31

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         


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