How to compile c++ program in command prompt | SoloLearn: Learn to code for FREE!

0

How to compile c++ program in command prompt

8/17/2016 4:51:10 PM

Nikita

1 Answer

New Answer

+3

if you are on Linux type sudo apt-get install g++, then you can compile a program by typing g++ -o outputfilename inputfilename.cpp