New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Programming basic C in Xcode

Post Reply New Thread Subscribe

Thread Tools

Member Since: Nov 10, 2006
Location: Leeds, England
Posts: 315
DrQuincy will become famous soon enough
Mac Specs: 17" Core Duo Macbook Pro

DrQuincy is offline
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.
QUOTE Thanks

Member Since: Nov 20, 2007
Location: Dublin, Ireland
Posts: 9
Exolon is on a distinguished road

Exolon is offline
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...
QUOTE Thanks

xstep's Avatar
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
You might also be interested in this page about what C features you'll need to know.
QUOTE Thanks

rianm7's Avatar
Member Since: Jan 03, 2008
Posts: 107
rianm7 is on a distinguished road

rianm7 is offline
Obj-C syntax is not all like C, though
QUOTE Thanks

Member Since: May 10, 2007
Posts: 17
mbgaski is on a distinguished road

mbgaski is offline
Originally Posted by rianm7 View Post
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?!?!" .
QUOTE Thanks

Post Reply New Thread Subscribe

« MACPORT install problem | help instaling java »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
C++ Programming with XCode 2 novicew OS X - Apps and Games 7 09-24-2009 02:02 AM
Learning C++ with Xcode MacKid OS X - Development and Darwin 23 08-26-2009 12:20 PM
Simple Programming stedg OS X - Development and Darwin 9 05-22-2007 04:16 PM
Xcode 1.5 alejandrico OS X - Development and Darwin 0 06-03-2006 05:56 PM
New Xcode plug-in helps developers reuse code Murlyn OS X - Development and Darwin 0 11-10-2003 12:16 PM

All times are GMT -4. The time now is 10:04 AM.

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

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?