Home
Reviews
Forums
New Games
Podcast
• submit tip •
  #1  
Old 01-20-2009, 06:43 PM
ktfright ktfright is offline
Senior Member
iPod Touch (4th Gen), OS 4.x
 
Join Date: Dec 2008
Location: Hawthorne,California
Posts: 588
Default c, or c++?

to learn obj-c, i need either to start making a game. which should i start with. all i know is simple java, very basic!!! no one has given a straight answer.
Reply With Quote
  #2  
Old 01-20-2009, 06:50 PM
BulletDev's Avatar
BulletDev BulletDev is offline
Developer
iPhone 4, OS 4.x
 
Join Date: Sep 2008
Location: Vancouver, BC
Posts: 785
Default

I took a different path then you, but I think you should start learning C++. It may be a challenge, but it won't take much afterwards.
Reply With Quote
  #3  
Old 01-20-2009, 07:02 PM
ktfright ktfright is offline
Senior Member
iPod Touch (4th Gen), OS 4.x
 
Join Date: Dec 2008
Location: Hawthorne,California
Posts: 588
Default

did you have any past experience with c++, and do you have any tips for a new dev like me?
Reply With Quote
  #4  
Old 01-20-2009, 07:04 PM
brewstermax brewstermax is offline
Senior Member
iPhone 3GS, OS 4.x
 
Join Date: Nov 2008
Location: Wouldn't you like to know ;)
Posts: 2,633
Send a message via ICQ to brewstermax Send a message via AIM to brewstermax Send a message via MSN to brewstermax Send a message via Yahoo to brewstermax
Default

Quote:
Originally Posted by ktfright View Post
did you have any past experience with c++, and do you have any tips for a new dev like me?
I'm not an iPhone dev, but I tried to learn C#, and it was a horrible experience. I haven't looked at C++, I know that it is far more common, but just play with the SDK, and see what you can do. C++, and some books looks to be the way to start.
Reply With Quote
  #5  
Old 01-20-2009, 07:13 PM
PoV's Avatar
PoV PoV is offline
Senior Member
 
Join Date: Oct 2008
Location: London, Ontario, Canada
Posts: 349
Default

Quote:
Originally Posted by ktfright View Post
no one has given a straight answer.
Well, this isn't any more straight. Both.

Generally speaking, C will give you a better understanding of what you're doing with the computer and compiler. C++ will give you conceptual tools to work with said things "better". I put that in quotes since C++ can be a "can of worms" for some people.

If your goal is iPhone, you'll likely do yourself best starting with C and ObjC, since C++ is a third wheel at this stage. An understanding of pointers and memory is essential for working with OpenGL, and many API's.
Reply With Quote
  #6  
Old 01-20-2009, 07:47 PM
Wegmans Wegmans is offline
Senior Member
iPhone 4, OS 4.x
 
Join Date: Oct 2008
Location: MD, USA
Posts: 1,508
Default

I got a C+ in AP Comp Sci... if that's any help..
Reply With Quote
  #7  
Old 01-20-2009, 09:01 PM
jonaswills's Avatar
jonaswills jonaswills is offline
Developer
iPhone 4S, iOS 5.x
 
Join Date: Nov 2008
Location: Colorado
Posts: 396
Default

If you just learn C your going to miss out on the whole object oriented programming stuff... which is a big part of the SDK, I would say go with C for a bit to learn about code logic and pointers and such, then learn Obj-C or C++ for a bit concentrating on objects... try to learn the distinction between programming without objects and programming with them... it's easy to get confused when starting out.
Reply With Quote
  #8  
Old 01-21-2009, 01:22 AM
Andres Andres is offline
Junior Member
 
Join Date: Dec 2008
Posts: 10
Default good luck

I'm currently reading How To Program: introducing c++ and java third eddition my older brother recomended it to me to start out , he said he'd help me learn to program and understand how to use c++ after and during the time I read the book. Now I'm not sure but would a computer engineer know how to make games using c++ cuz if they can it won't be too hard for me to learn since he's a computer engineer. But even if I do learn I have chosen to wait two years since 1) I'm underage and can't use my own name2) I have to wait till I work to buy my own mac.
Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


iPhone Game Reviews | iPhone Apps

All times are GMT -5. The time now is 12:55 AM.