★ TouchArcade needs your help. Click here to support us on Patreon.

A couple of questions from a noob

08-05-2009, 06:37 PM
#1
Joined: Mar 2009
Posts: 818
A couple of questions from a noob

So I started with C++ I think three days ago. I've been doing a couple lessons a day in an ebook. A question for experienced developers, would it be hard for me to write in C after learning C++? I understand C++ is a superset of C, so the syntax is the same? Is C++ exactly the same as C, just with object oriented features? Do you have to write iphone apps in C? And what is objective C? Do I need to know that for app development?
I'm not going to be doing any kind of app or game development for a while as I still don't even know the basics of game development, but I'd like to know I would be able to do it with the proper knowledge.
08-05-2009, 06:48 PM
#2
Quote:
Originally Posted by robertf224 View Post
So I started with C++ I think three days ago. I've been doing a couple lessons a day in an ebook. A question for experienced developers, would it be hard for me to write in C after learning C++? I understand C++ is a superset of C, so the syntax is the same? Is C++ exactly the same as C, just with object oriented features? Do you have to write iphone apps in C? And what is objective C? Do I need to know that for app development?
I'm not going to be doing any kind of app or game development for a while as I still don't even know the basics of game development, but I'd like to know I would be able to do it with the proper knowledge.
Join this http://forums.toucharcade.com/group.php?groupid=69
If you want to help with and/or have some support on makink and developing this is a great place to start.(although its a bit empty,but every little bit helps)

Plus+:i5ku112 Twitter:@5ku112 Facebook:5ku112
Myspace:5ku112 OpenFeint:5ku112
Add me?

08-05-2009, 06:50 PM
#3
Joined: Mar 2009
Posts: 818
Quote:
Originally Posted by 5ku112 View Post
Join this http://forums.toucharcade.com/group.php?groupid=69
If you want to help with and/or have some support on makink and developing this is a great place to start.(although its a bit empty,but every little bit helps)
yeah I'll join thanks how did you know I was a teen though? But yeah I am I'm 15 years old
08-05-2009, 07:19 PM
#4
Joined: Jan 2009
Location: App Tech Studios, USA
Posts: 1,363
Quote:
Originally Posted by 5ku112 View Post
I joined
08-05-2009, 07:31 PM
#5
Joined: Mar 2009
Posts: 818
So can someone answer the original question?
08-05-2009, 10:34 PM
#6
Joined: Jan 2009
Location: App Tech Studios, USA
Posts: 1,363
Quote:
Originally Posted by robertf224 View Post
So can someone answer the original question?
You need to know some Obj-C for iPhone programming, but after that, you can use pure C (and maybe a few others). Once you learn a language, you will usually catch on to other languages pretty well.

Last edited by WellSpentYouth; 08-05-2009 at 10:38 PM.
08-06-2009, 01:15 AM
#7
Joined: Feb 2009
Location: Sweden
Posts: 1,634
Quote:
Originally Posted by robertf224 View Post
1. A question for experienced developers, would it be hard for me to write in C after learning C++?
2. I understand C++ is a superset of C, so the syntax is the same?
3. Is C++ exactly the same as C, just with object oriented features? Do you have to write iphone apps in C?
4. And what is objective C? Do I need to know that for app development?
1. To me C is easier. It's more basic, so some tings are more tedious to do in C, but it's a cleaner language. I think your best bet is to mix C/C++, and there isn't really a reason why you shouldn't even mix it with ObjC.

2. Sort of, it's like C++, but everything that seems badly designed with C++ you don't have with C. Worst part about C is strings, they are absolutely horrible. But like I said, mix with C++ and use STL where you see fit.

3. No not really. Some people write everything i ObjC, some add a little C/C++ to it. We use as little ObjC as possible and mostly C/C++.

4. Yes you do need some, but not that much if you don't want to. I think many aspiring developers find it easier with ObjC as you get many classes in Cocoa that can help you out.

Another tip:

Start small. Re-do the very first computer games, like Pong, Tetris, Space Invaders etc.
08-07-2009, 07:29 AM
#8
Joined: Jun 2009
Location: Iceland
Posts: 5
Send a message via ICQ to Emulgecheehem
A couple of questions from a noob

Even though I added sources, the apps that come from them dont show up. I added some manually and some through the installer, but no new apps are showing up. I tried reinstalling and hardbooting. What now?
08-08-2009, 07:29 PM
#9
Joined: Aug 2009
Posts: 1
Quote:
Originally Posted by robertf224 View Post
So I started with C++ I think three days ago. I've been doing a couple lessons a day in an ebook. A question for experienced developers, would it be hard for me to write in C after learning C++? I understand C++ is a superset of C, so the syntax is the same? Is C++ exactly the same as C, just with object oriented features? Do you have to write iphone apps in C? And what is objective C? Do I need to know that for app development?
I'm not going to be doing any kind of app or game development for a while as I still don't even know the basics of game development, but I'd like to know I would be able to do it with the proper knowledge.
C++ is an object oriented language, C is a procedural language.

However you can write procedural code in C++ and object oriented code in C. I am sure you can find plenty on the benefits of both on the web.

For IPhone you need to know some Obj-C.

If you know C++ and understand object oriented programming, you may not like C, however you can still write it.

Bottom line, don't get hung-up on languages, if you are going to be a programmer you will learn many of them, and after the first few, they will all be the same, some are just better suited to the job then others.

Anders gives good advice about starting by trying to code one of the classics. You can find may examples on the web, learn by example (both good and bad).

Hope this helps.
-P
08-08-2009, 09:18 PM
#10
Joined: Mar 2009
Posts: 818
Thanks a lot for the responses guys i really appreciate it. And @patricks I know the difference between the languages, I was just wondering how similar they are in syntax.