+ 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...
7 Antworten
+ 7
Mono develope is ok as well( hard to top Clion )
https://www.sololearn.com/discuss/709024/?ref=app
+ 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!!!!!
=^=
+ 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.
+ 1
Thank you all for answers. I will try out these suggestions and see what suits me the most 😊
+ 1
it's sufficient to use the system defaults compiler, GNU-make and GDB.
+ 1
because python can automate it with os.system. its really work, make more fast to complie and run c++ script.