Mac Forums

Mac Forums (http://www.mac-forums.com/forums/)
-   OS X - Development and Darwin (http://www.mac-forums.com/forums/os-x-development-darwin/)
-   -   Programming basic C in Xcode (http://www.mac-forums.com/forums/os-x-development-darwin/87262-programming-basic-c-xcode.html)

DrQuincy 12-05-2007 05:03 AM

Programming basic C in Xcode
 
I'm really interested in learning how to program Cocoa applications.

I'm a web programmer by trade and it has been years since I've used Java and C++ so before I get stuck into Cocoa I'd like to familiarise myself with C first.

Am I right in saying Objective-C is a subset of C and so inherits all its features?

How do I set up a project in Xcode that uses ObjC but not the Coca framework? I just want to learn to do basic C operation in the terminal before diving into creating GUIs.

Exolon 12-24-2007 08:59 PM

No, it's a superset of C, adding more features to the language.

The Wikipedia page gives some decent background about it. Seems kinda cool really...

xstep 12-26-2007 04:01 AM

You might also be interested in this page about what C features you'll need to know.

rianm7 01-13-2008 12:41 AM

Obj-C syntax is not all like C, though

mbgaski 01-16-2008 04:22 PM

Quote:

Originally Posted by rianm7 (Post 569285)
Obj-C syntax is not all like C, though

Yeah. There are some things that are just very odd looking to me (I'm also just starting to learn Cocoa/Obj-C), and I have a pretty decent C background (Mostly UNIX oriented. I have programmed in C++ as well on both UNIX and Windows). The more I read the more I just think "Why the heck didn't they just use C++ instead of something this obscure?!?!" :).


All times are GMT -4. The time now is 04:13 PM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.