I want to learn C but I tend to learn best when I have a project to work on. I've never done iPhone development, so I'm hoping to kill two birds with one stone. Will learning objective c also teach me to program c reasonably well, or are they too dissimilar?EDIT: I'm mostly wondering if objective-c/iphone-development would teach me all the little gotcha's that are inherent to c. I come from a .Net background so I haven't done much in terms of memory management or working with pointers.
Is Objective C a reasonable way to learn C?
learning;c;objective c
Based on your edit, I would say that Obj-C is not the best way to go.Obj-C has a lot of nice things as part of the framework that make it a higher level language, which will mask the very gotchas that you want to experience in C. In particular, memory management in Obj-C is a big topic in its own right, and it is very different from what you would typically be doing in C.Just because something is a superset, it does not mean that you will be utilizing the whole original set.I would advise you to figure out what it is exactly that you want to do with C, and tackle it directly.