PDA

View Full Version : [SOLVED] C++ Development



stevet73
January 28th, 2008, 03:45 PM
I am an absolute beginner to Ubuntu. Can anyone recommend the best C++ development package for an absolute beginner to C++. One with excellent tutorials from ground zero would be nice. Will it be ANSI C compliant? Are the any other good programming development packages to recommend to a beginner needing to comtro; USB serial devices?
Thank you
Ubuntu Feisty Desktop 7.04
i386 machine

emarkd
January 28th, 2008, 03:55 PM
If you've used Eclipse in the past, check out the C/C++ plugins for it. It'll be very familiar to you.

If not and you're starting from scratch, you have three very good choices:

1. Anjuta - Very nice IDE with Gnome integration. It's in the repos

2. KDevelop - Very nice IDE with KDE integration. It'll run fine in Gnome, it'll just look a little different. It's also in the repos

3. Learn Eclipse. It's a very good IDE. It's java based, so it'll run anywhere java will, but it comes with all the issues java brings, like bloat and execution speed.

Personally, I use Eclipse for Java and just a plain ole' text editor (vim for me) for C/C++, but I've used Anjuta a little and its very good. Check 'em out and see what you like

angelot
January 28th, 2008, 03:55 PM
This will help you getting started:

sudo apt-get install glade devhelp anjuta

LaRoza
January 28th, 2008, 03:57 PM
See my wiki, and http://ubuntuprogramming.wikidot.com

SledgeHammer_999
January 28th, 2008, 11:46 PM
Don't forget Code::Blocks (www.codeblocks.org).
Use one of the nightly builds offered in their forum(there are packages for ubuntu). The stable version is quite old.

To begin learning C++ I strongly reccomend you to read this tutorial->http://www.cplusplus.com/doc/tutorial/

LaRoza
January 28th, 2008, 11:48 PM
Don't forget Code::Blocks (www.codeblocks.org).
Use one of the nightly builds offered in their forum(there are packages for ubuntu). The stable version is quite old.

To begin learning C++ I strongly reccomend you to read this tutorial->http://www.cplusplus.com/doc/tutorial/

http://laroza.freehostia.com and my wiki has that site listed for C++

You can add Code::Blocks to the wiki, that wiki allows anyone to edit for now.

If you want to join, the Password is "LaRoza"

Decinoge
January 29th, 2008, 04:16 AM
I use Code::Blocks myself, but for game developing.
I'm very satisfied with it, and I am also a beginner.
None of the nightly builds has given me any problem so far, and the portability of the IDE itself made it very easy to compile my project on windows and os x.

I started with Windows Dev-C++, but since I started used Ubuntu, Code::Blocks was the easiest IDE to deal with (apart from the installation that took me some time for my inexperience). I also tried Anjuta without much success, and KDevelop just looked... ugly and confusing (I'm sorry if I hard anyone's preference, but my education is based in art, and it just didn't seemed right to me :\)

pmasiar
January 29th, 2008, 04:31 AM
Are you also absolute beginner to programming? If so, you might find C++ hard.

Python is commonly considered "simple" language to learn for beginners. I read about study where group of students learnd Python first, then Java. They were able to "cover more ground" in Java, than control group, which studied Java only. Java is little simpler than C++.

Wiki in my sig has many links to free Python books and other learning resources.

stevet73
January 29th, 2008, 05:08 AM
Thank you all for sharing your experience and knowledge, your advise will save me time and headaches. I am checking them all out.