What language/api should I use?

Being new to mac, but not all that new to programming, specifically C++, I wanted to learn how to create a game for the mac by doing.
I plan on making a 4X Space Game [I've been playing Galactic Civilizations on my PC, and just need a game like that for my mac ;P] so I decided to do that while learning programming.

My question is... what API and Language should I use?
I want to use OpenGL, so I was thinking of using Cocoa and Obj-C, but is this a good solution? I realize with Cocoa, it'll only work on OS X, but I don't really care about that... it's a learning project after all.

Or should I stick to something C++ish? I just basically want to know, what's a good hting to know for the ffuture?

Quote:Originally posted by cheez0r do you find yourself ainly using Obj-C or C++? Or do use what i've seen referred to as "Obj-C++" ?

The reason I'm asking, I just want to see how much 'learning' i'm in for heh.

If you already know C++, then I don't think Objective-C will be very hard for you to learn. All the code I have seen that uses Obj-C++ is very, how shall I say it, messy. It seems like the whole reason to use Obj-C is to have an object oriented language that is not C++ so why someone would want to mix the two, I don't know.

Yeah, as strange as it is, I WANT to learn Obj-C and just use it... but I don't want to cripple my programs. From the looks of things, if I wanted to ues Cocoa and Obj-C [and using OpenGL], i'd be fine.

Quote:Originally posted by jabber If you already know C++, then I don't think Objective-C will be very hard for you to learn. All the code I have seen that uses Obj-C++ is very, how shall I say it, messy. It seems like the whole reason to use Obj-C is to have an object oriented language that is not C++ so why someone would want to mix the two, I don't know.

HEY! my program is very organized and pretty (well as far as I go). My only complaint is that it takes at least twice as long to compile. ugh, I'm hating this 30 second compile time. if you have one of those spiffy new computers that can compile in seconds.... well... I just hate you :envy:

Quote:Originally posted by OneSadCookie I have a dual 867, so I can compile two ObjC++ files simultaneously, and it's still mind-bogglingly slow!

OSC if you wouldn't mind, send me a project that you have that has ObjC++ and a time for it to do a complete compile from scratch. I will time it on my Dual and post the difference. I am curious to see how much difference their is between our systems?

I don't have any ObjC++ projects, the couple of times I tried it it was too slow to compile so I just used C instead of C++, and the other times I've compiled ObjC++ have been as help for forum members here.