Hey guys,
I'm looking to learn how to program in java, C, C++, and any other program required to build on the mac & iOS. Do you have any tips? Should I sign up for a local college course? Any online courses? Also, do you have to be really good with math or is that only for building iOS games?
Thanks,
Dan
If you want to program on iOS, you need to know C and Obj-C. C++ is optional.
If you want to program on OS X, you have a variety of options including C, Obj-C, C++, Java, Python, etc.
As far as being good at math (I hate when people say "good at math",) it depends on what you mean:
- Do you need to be able to calculate numbers quickly?
No, you're using a computer. It'll calculate numbers for you.
- Do you need to be able to understand math theoretically?
Yes, but it's not a pre-req so much as a co-req you may not even notice.
To explain: I started programming when I was in the 8th grade. I was horrid at Algebra before I started learning to program. As I learned to program, I began to "get" Algebra. By the end of high school, I was sent to a national math competition as an A team representative from my state. People tell me I'm "good at math"... but... IDK, I need a calculator. I make arithmetic mistakes all the time if I don't use a calculator.
So... don't worry about math I suppose. You're going to learn what you need to learn.
Now, back to languages...
To learn C, I suggest this free ebook, "Learn C The Hard Way". By "hard", they mean "right". It teaches you to look stuff up on your own. You could get an "easy" book to learn C that will tell you exactly how to do everything, but the issue is, once you reach the end of an "easy" book,
1 - You won't understand it as well as you should.
2 - You won't know how to go forward on your own.
"Learn C The Hard Way" solves them by
1 - Making you look some things up on your own. It's like doing homework in addition to, rather than only, attending class.
2 - You'll understand how to look up the things you need to go forward and do your own projects without having your hand held.
Here's the link:
http://c.learncodethehardway.org/book/
To move onto Obj-C, it is absolutely essential that you're able to do exercises 0-14. However, learning the rest will be helpful, particularly if you want to onto C++.
For learning Obj-C, I suggest Stanford iOS tutorials available for free through iTunes U. (This also rolls in the iOS SDK and Xcode.)