ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
KDevelop looks like it's pretty good for that sort of thing. I only played around with it, but it was very easy to hack a short little util. Give this a try first.
If you're a little more adventurous you can also customize netbeans believe it or not, and develop c++ with it www.netbeans.org. If you don't mind a little jury rigging it's a nice environment to program in java, it would be pretty awesome to develop in c++ as well.
It's setup for java when you first get it, but it's extendable via modules, so you can customize it to your language of choice. Of course kdevelop is ready right at the get go. So pretty much a no brainer unless you don't care for the environment and want something different.
If you want something simpler than KDevelop, try out Kate. It has a terminal thing, a project like thing which lists your files. It can do syntax highlighting and everything, so pretty good.
Originally posted by redjokerx Netbeans and C++!!! wow! Although Netbeans is pretty cool, it's slow.
It is written in Java though! I didn't know you could use Netbeans for languages other than Java.
Anjuta is another C/C++ IDE. Oh, speaking of Emacs: I use it but was wondering how you compile C++ programs from it. Usually I just close it and enter "g++ myprogram.cpp -o myprogram" in a terminal.
Originally posted by Nylex Oh, speaking of Emacs: I use it but was wondering how you compile C++ programs from it. Usually I just close it and enter "g++ myprogram.cpp -o myprogram" in a terminal.
To compile your code from within Emacs you would do this:
M-x
type: compile
hit enter
Then type the command to compile your code. In this case it would be:
g++ myprogram.cpp -o myprogram
Hit enter and it should compile the code the same as if it were done at a command line, if there are errors, those will be displayed in Emacs, as well.
Originally posted by Chryzmo To compile your code from within Emacs you would do this:
M-x
type: compile
hit enter
Then type the command to compile your code. In this case it would be:
g++ myprogram.cpp -o myprogram
Hit enter and it should compile the code the same as if it were done at a command line, if there are errors, those will be displayed in Emacs, as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.