Complete C++ beginner

April 15, 2011 at 10:11:24
Specs: Macintosh
Hello everyone,

I have some reasonable programming experience with a program called IDL. However I'd consider myself a complete rookie with the technical side of things.

I'm trying to teach myself some C++ from online tutorials. I have a mac (leopard) and I'm trying to run the most basic 'hello world' script.

My problem is as follows:

First, is there a way I can check to see if I already have a C compiler? I'm pretty sure I downloaded one years back. I'm quite happy to run everything through a terminal but I can't remember the call sequence.

I'm currently downloading xcode3 from the apple website. Do I need anything else to make things work? I'm not sure how advanced I'll get, but for now I just want to perform the basic commands.

Thank-you for any help you can give, I'm already a little out of my depth

See More: Complete C++ beginner

Report •

April 15, 2011 at 10:14:15
While I'm here I should also ask if there are any recommendations for a good tutorial website? The first one I've found is

Cheers again

Report •

April 15, 2011 at 10:43:01
XCode 3 is capable of doing all that you require. But if you want to write GUI programs then C++ is not the best language on a Mac.

Report •

April 15, 2011 at 13:45:39
I've been trying/and failing pretty much since I first posted.

I downloaded xcode 3.2 (the only free version I can get my hands on) and it appears that I need snow leopard to use it. I've looked everywhere and I cannot find an earlier version.

I've downloaded eclipse, but this doesn't have it's own inbuilt complier correct? (I couldn't get any scripts to run anyway)

I've tried to download gcc (pretty sure I don't already have it) and I'm having trouble installing it.

I appear to be way out of my depth now. Are there any gcc mkpkg files available that will just install everything for me? I can't seem to do it myself

Report •

Related Solutions

April 15, 2011 at 14:02:53
A version of XCode suitable for your OS should be on your OS X install DVD.

Report •

April 15, 2011 at 14:17:56
I don't have them to hand at the moment. Is there any other way?

Cheers for your help

Report •

April 16, 2011 at 02:28:19
You can download from (You'll need to join the Developer Program to access this download, but you can do so for free.) Scroll down a bit and you'll find XCode 3.1.

Report •

Ask Question