Setup a Fully Featured C++ Develop Environment


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Setup a Fully Featured C++ Develop Environment
# 1  
Old 07-29-2009
Hammer & Screwdriver Setup a Fully Featured C++ Develop Environment

Hello,
I'm learning C++ and i want to know what i have to do for setup a fully featured C++ develop environment in my Ubuntu Intrepid Ibex, like Gedit, because i hate eMacs and non-graphical editors, they are so much confusing, and some other things that will help me with my development.

Thanks,
Nathan Paulino Campos
# 2  
Old 07-29-2009
My favorite IDE is and probably always will be Microsoft Visual C++ 6.0. Since moving to Unix I've tried a few; Eclipse, Xcode, Kdevelop, and generally found them lacking because of the way they tie in with the hackish automake system. I used kdevelop happily for 2 years, then all my projects broke with the next automake upgrade. There was nothing left to do but trash all project files not ending in .[ch] and write my own makefiles.

They tie in with automake, of course, to provide the ability to build their projects without actually having the graphical IDE installed. Anything less would be shocking on a UNIX system, but looking at an autogenerated makefile is like looking at HTML generated by MS Word. Create a project with an IDE and it will be a herculean task to deal with it without the same IDE. Depending on how picky it is, it might even need to be the same version of the same IDE.

I like emacs about as much as you do. I like vi about as much as a snakebite. But typing in a black window instead of a white one really isn't that bad, if you use a text editor invented after the AT keyboard was. Smilie Try nano. With tools like the Data Display Debugger around, code autocompletion is about the only thing you don't get sans-IDE these days.

There's a lot of buzz about Eclipse these days. I remain suspicious of any VM language that occupies that many megabytes of disk real estate, but if you don't mind Java, it may be the way to go for learning the language without dealing with the console (directly).
# 3  
Old 07-29-2009
Try gvim, set to black background. You can open multiple tabs (:tabnew, :tabn, :tabp), you have variable autocompletion (with CTRL-P/CTRL-N), with ctags you can jump to function definitions, and with a Makefile and :make any build errors will be shown.

And for all those commands you don't know by heart it has a menu bar.
# 4  
Old 07-29-2009
Hello,
Thanks pludi but i hate gvim, vim, emacs because they are so much confusing.
Thanks for the very good and helpful answer Corona688 and you gave me some very good tips for C++ development under Linux, but someone that uses Microsoft Visual C++ use a compiler or some other thing is very hard, because in Visual C++ you have all there only with a mouse click, without commands or changing programs, but in my opinion Linux is much more better and stable than Windows, and in Linux you have make for your C++ programs.

Thanks,
Nathan Paulino Campos

Last edited by nathanpc; 07-29-2009 at 07:39 PM.. Reason: put more details
# 5  
Old 07-29-2009
Quote:
Originally Posted by nathanpc
and in Linux you have make for your C++ programs.
Don't get me wrong. I find make very handy. I really dislike autotools, though, and so many IDE's are built on it... Generating the generated generated script generation scripts for the generation of makefiles is a very long, slow(most 'compilation' time is actually spent regenerating makefiles!) convoluted, and error-fraught process. Writing your own makefiles is easier.

Last edited by Corona688; 07-29-2009 at 08:03 PM..
# 6  
Old 07-29-2009
Tools

I like autotools, in my opinion they make the development more flexible.
# 7  
Old 07-30-2009
I've spent most of my time with them fighting to fix it when it breaks itself rather than enjoying their advantages, so I may not truly appreciate what they do for a developer yet. How so?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

UNIX Environment Setup - (Just starting!)

Morning All So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question: Currently I use Oracle VirtualBox, can... (1 Reply)
Discussion started by: harveyclayton
1 Replies

2. UNIX for Beginners Questions & Answers

UNIX Environment Setup - (Just starting!)

Morning All So, I am starting looking into the world of UNIX for a new job (luckily not my primary function!) and I am looking to get stared. Like anything I seem to learn best by trying things out first in an environment but I have a key question: Currently I use Oracle VirtualBox, can... (8 Replies)
Discussion started by: GophusMeau
8 Replies

3. Solaris

Setup print environment in Solaris 11

Hi Experts, Please help me on this. I've a print environment using NIS in Solaris 10. Recently we have new JDE environment which using Solaris 11 OS, and found that we can't use NIS anymore. So only the option is using CUPS. How do we integrate this print environment for both Solaris 10... (9 Replies)
Discussion started by: srigias
9 Replies

4. Ubuntu

how to built a gtk develop Environment for C programe

hi all: as title . i want to built a C GUI program environment in ubuntu. i know i should install gtk . but i try and try , and still failed .:wall: could some one help me ? thanks !! (0 Replies)
Discussion started by: arnold.king
0 Replies

5. UNIX for Dummies Questions & Answers

Samba setup in virtual server environment Windows/ Linux

I have a home network set up that consists of a few windows clients and 3 centos, and 1 suse client. These are all virtual machines, VMware Workstation. One centos vm is set to be the Samba server. Do I need Samba set up on the other Linux clients?I have no problem seeing the windows clients... (0 Replies)
Discussion started by: ktb231
0 Replies

6. Shell Programming and Scripting

How to send email using shell script in UNIX, Is any environment setup required in Mac OS X ?

Hi All, I am using Mac OS X (Leopard OS). I am very new to UNIX. My requirement is that, by running a shell script, I create a log file. So I have to send a mail having that log file attached. What I tried to do is, I simply tried to check,whether this direct command works or not. So I... (2 Replies)
Discussion started by: Afreen
2 Replies

7. Shell Programming and Scripting

Featured Books and Articles by Active Forum Members

The UNIX and Linux Forums have a number of active members that have published books or papers related to shell programming and scripting. You can check out their publications here: Link Removed Please note, as you can imagine, our forum experts can be quite busy! You will get a response... (0 Replies)
Discussion started by: Neo
0 Replies

8. AIX

NIM server setup on etherchannel setup environment

I know that IBM's official stance is that NIM does not work on etherchannel environment, but has anyone able to get around it? I'm working on a p5-590 LPAR system, and the NIM master and clients are all on the same frame. Any help is appreciated. (1 Reply)
Discussion started by: pdtak
1 Replies

9. UNIX for Dummies Questions & Answers

unix develop environment

hi! i am Carlos i study @ UABC (Autonomy University of Baja California)... i have a final project.... i need to make a presentation of the new... unix develop environment... but... i have some problems with that.... could you tell me something to help me? (0 Replies)
Discussion started by: Nx GT-R
0 Replies
Login or Register to Ask a Question