Running C++ program on LINUX terminal | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Running C++ program on LINUX terminal

Is here someone who can tell me how to execute the c++ program on LINUX terminal without a compiler

18th Jan 2017, 4:52 AM
Devendra Kumar Rai
Devendra Kumar Rai - avatar
1 Answer
+ 2
u need to compile it, u can do it with g++ file.cpp -o file then execute it ./file
18th Jan 2017, 5:04 AM
Kawaii
Kawaii - avatar