Day 2: Read Chapter 6 and I was a little confused at the end of this chapter. I was having problems with the Exercise 2 and 3 of the tutorial at the end of the chapter. Exercise 2 is to write a program to compute the prime numbers from 1 to 100 and Exercise 3 is write a program to compute the first 100 prime numbers. Since I was so confused I think I’ll re-read the previous 2 chapters again. Now I can see why the said it will take you a few months to learn C.
I am posting each days post in the Programming section of the site.
Day 1 Post
I am on a journey to write my first iPhone app. I have 2 apps planned that I want to write. I have programmed in the past, I’ve worked with VB 6 on Windows and I design websites using PHP every day. So I did my research to figure out where to start. If you haven’t done any programming you should learn C Programming language first. So thats where I am starting. C is a good base language to learn. Learning C will get you on your way to writing a program for the iPhone and it is the basis language for Java, C++, and Objective-C.
Know that I have a place to start I found the book for me. I bought “Learning C on the Mac” by Dave Mark from the publisher Apress. Apress has a good series of books for learning to program on the Mac.
Here is my syllabus of books:
I will try to post a daily update.
Day 1: OK I read the first 5 chapters in “Learning C on the Mac”. I am starting to see the similarities between C, PHP and Java. If you know Java or PHP you should have no problem with this book.