PDA

View Full Version : Simple C++



iWill
March 1st, 2007, 09:57 PM
What would you guys recommend for just some simple C++. I've installed Anjunta but I still prefer something along the lines Dev-C++ on windows..

Wybiral
March 1st, 2007, 09:58 PM
I used to use Code::Blocks in Windows... It's a lot like dev-c++

I believe it is available for Linux.

iWill
March 1st, 2007, 10:13 PM
I used to use Code::Blocks in Windows... It's a lot like dev-c++

I believe it is available for Linux.
Not out for PowerPC....does anyone know a good compiler for powerpc linux similar to dev-c++?

iWill
March 1st, 2007, 10:31 PM
Anyone?

lnostdal
March 2nd, 2007, 12:11 AM
What would you guys recommend for just some simple C++. I've installed Anjunta but I still prefer something along the lines Dev-C++ on windows..

here's the setup i use:
http://nostdal.org/~lars/writings/ubuntu-programming1.pdf
http://nostdal.org/~lars/writings/ubuntu-programming2.pdf
http://nostdal.org/~lars/writings/ubuntu-programming3.pdf

(currently upgrading the last one to show how-to of glade-3 instead of glade-2)

it will work under ppc also .. heck; it'll even work under win32 ;)

iWill
March 2nd, 2007, 12:56 PM
here's the setup i use:
http://nostdal.org/~lars/writings/ubuntu-programming1.pdf
http://nostdal.org/~lars/writings/ubuntu-programming2.pdf
http://nostdal.org/~lars/writings/ubuntu-programming3.pdf

(currently upgrading the last one to show how-to of glade-3 instead of glade-2)

it will work under ppc also .. heck; it'll even work under win32 ;)
Lol Ok....isn't there just one simple app that would let me debug one simple .cpp file?
Everything seems to be so much of a hassle on linux

haricharan
March 2nd, 2007, 01:06 PM
Just doing it in command line is easier......using gcc for C programs and g++ for C++ programs.
However to compile u need the gcc and g++. Install build-essential for this

sudo apt-get install build-essential

Enselic
March 2nd, 2007, 04:48 PM
Lol Ok....isn't there just one simple app that would let me debug one simple .cpp file?
Everything seems to be so much of a hassle on linux

For debugging, checkout ddd or Kdbg.

When you compile, make sure you compile with the -g option if you use a command line interface.