C++ IDEs for Linux

reef_d

Disciple
Apr 2, 2005
267
0
0
38
Which IDE do you guys use for programming in C++ in Linux?

Anyone got any ebooks on C++ programming in Linux?
 

Dark Star

ex-Mod
May 7, 2006
7,099
513
257
AS far as C++ in Linux I use G++ , and Anjuta ...

See G++ needs to be used from commands from Terminal.. if u want to compile while Anjuta has inbuilt like Turbo C..

Here are steps u need to do:--

For G++ Installation and usage :---

To install G++ 1'st open Terminall.. and type this

Code:
sudo apt-get install g++

but you should probably do (to install everything you might need in ways of developement): Type this after the above commands installation finished. :cool2:

Code:
sudo apt-get install build-essential

That will also include gcc and g++;)

Now usage of G++/GCC....

simple, use editor to type in your C/C++ code. save it with the .c or .cpp extension.

Then exit form the editor, in terminal type :

cc filename.c

This will create the a.out file.

now type ./a.out

to get the output

to specify a custom name, u need :

Code:
cc -o outputfilename sourcefile.c

About Anjuta :

To install type thiis in Terminal

Code:
sudo apt-get install anjuta

It will have a button to press to compile your code.:bleh: :eek:hyeah:

As far as C++ guide is concerned try this beginners guide written by me http://www.techenclave.com/forums/tutorial-learn-all-basics-c-language-87986.html

Hope it helps

Peas Ds:)
 

tirthankar

Adept
Jun 3, 2006
329
17
0
39
g++ is not an IDE, it is the c++ compiler :)

@reef: lots of IDE's are available, among them Kdevelop and Anjuta are most popular. personally i've used both and both are good. use what u like more..
 

reef_d

Disciple
Apr 2, 2005
267
0
0
38
i use Anjuta actually. But throughout college we used that outdated TurboC and programming in Linux is very new to me.

thanks for your help guys
 
Mar 18, 2005
449
8
82
39
I haven't tried any other than Eclipse. And I don't think I need to :)

But I use it at my office. May be this is too complex otherwise.

And it is cross-platform. So if you move to Windows, you won't feel at sea.
 

skada

Disciple
Aug 7, 2007
46
2
0
THere are many IDE's Choose whats suits u best:
1.Anjuta
2.Code::Blocks
3.KDevlop(quite good)
4.Sun Studio
5.Probably Intel also has one...
6.Eclipse

Best way is goto your package manager (like synaptic or adept) and search for IDE you ' ll get more than necessary
or best .. here is wikipedia link on wikipedia
 

skada

Disciple
Aug 7, 2007
46
2
0
yup .. I too prefer .. quite good and have integration with Qt and GTK+
and support for CVS and SVN ... have all help files (even man pages could be
viewed from within) .. can run autotools automatically ..
pretty useful :)