VS Code will not build c++ programs with multiple .ccp source files

前端 未结 7 1820
后悔当初
后悔当初 2020-11-29 07:58

Note that I\'m using VS Code on Ubuntu 17.10 and using the GCC Compiler.

I\'m having trouble building a simple program which makes use of additional .ccp files. I\'m

相关标签:
7条回答
  • 2020-11-29 08:25

    On the terminal tab of your VS Code program write the following:

    $ g++ nameOne.cpp nameTwo.cpp -o a.out  
    $ ./a.out
    
    0 讨论(0)
提交回复
热议问题