how to run c++ code in Ubuntu | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how to run c++ code in Ubuntu

I am new to c++ programming and I want to know how can I run my code c++ in my Ubuntu system.

7th Jul 2016, 7:49 PM
Aquib Javed Khan
Aquib Javed Khan - avatar
3 Answers
+ 2
if you're looking for an ide codeblocks works and has a tutorial on how to set up the gcc compiler with Linux. or you can compile straight from the command line with gcc. a quick Google search will show you how to list the files. as far as running your code once compiled you type ./MyProgram
7th Jul 2016, 8:50 PM
destro
+ 1
Go ορen Ubuntυ Software, search for Codeblocks and click on install button
8th Jul 2016, 12:44 AM
Decimate
Decimate - avatar
0
Why is everyone here so obsessed with Code::Blocks? ;-)
8th Jul 2016, 8:18 PM
Stefan
Stefan - avatar