+ 3

Programming with C++ on Linux

Hello, I'm wondering what tools people use to program with C++ on Linux. Do you have a preferable IDE or do you use text editors like VIM with various plugins installed? I tried using CodeBlocks IDE, but it was very buggy and not possible to work with...

14th Sep 2017, 10:58 AM
Eligijus Silkartas
Eligijus Silkartas - avatar
7 Respostas
+ 7
Mono develope is ok as well( hard to top Clion ) https://www.sololearn.com/discuss/709024/?ref=app
14th Sep 2017, 12:20 PM
Manual
Manual - avatar
+ 5
Sublime Text and g++/gcc command Most of C programmer on linux use gcc/g++ command Anyway I want to re-install this linux mint alot!!!!! =^=
14th Sep 2017, 11:03 AM
Yanothai Chaitawat
Yanothai Chaitawat - avatar
+ 2
using g++ is very simple on debian/ubuntu linux: apt-get update apt-get install g++ after that you can comple your c++ script. g++ %your c++ script name& -o %what will the output name of your script% example: g++ myscript.cpp -o myscript then run it chmod 777 myscript ./myscript you can use python script to make it really simple try mine usage: python run.py %your c++ script% dont forget to chmod 777 run.py and you can make it more simple as running python script: ln -s run.py run cp run /usr/bin/run chmod 777 /usr/bin/run and try it: run %your c++ script name% and it will generate output as the same name as your c++ script name but without extension name. finally run complied script ./myscript or you can try visual studio. but its not work for me.
14th Oct 2017, 5:15 AM
Kevin AS
Kevin AS - avatar
14th Oct 2017, 5:16 AM
Kevin AS
Kevin AS - avatar
+ 1
Thank you all for answers. I will try out these suggestions and see what suits me the most 😊
15th Sep 2017, 10:07 AM
Eligijus Silkartas
Eligijus Silkartas - avatar
+ 1
it's sufficient to use the system defaults compiler, GNU-make and GDB.
17th Sep 2017, 10:11 AM
Sebastian Nguyen
Sebastian Nguyen - avatar
+ 1
because python can automate it with os.system. its really work, make more fast to complie and run c++ script.
14th Oct 2017, 11:41 AM
Kevin AS
Kevin AS - avatar