Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Coding on mac

Coding on mac
Thread Tools
Junior Member
Join Date: Jul 2005
Status: Offline
Reply With Quote
Oct 8, 2007, 11:13 AM
 
I am interested in how to code software on mac, at college we are going to learn C but will this be useable on mac or is this language just for windows?

All information will be helpfully thank you
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Oct 8, 2007, 11:54 AM
 
As far as just the language is concerned, C is the most cross-platform language in the world. The code libraries you'll use will probably be different on Windows, but C is kind of the standard in programming languages.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Feb 2000
Location: Nashua NH, USA
Status: Offline
Reply With Quote
Oct 8, 2007, 02:00 PM
 
Search the foremus for XCode for some help. developer.apple.com for more.
     
Junior Member
Join Date: Jul 2005
Status: Offline
Reply With Quote
Oct 9, 2007, 10:54 AM
 
thanks for the replies so far!
Is there any freeware apps like visual basics for pc.

They are neede to be free as I am only a student learning!
     
Junior Member
Join Date: Jul 2005
Status: Offline
Reply With Quote
Oct 9, 2007, 11:43 AM
 
were can i i get cocoa at?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Oct 9, 2007, 02:05 PM
 
You get Cocoa when you install OS X — it's part of the system. And OS X also includes an installer for the Xcode developer tools.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Junior Member
Join Date: Jul 2005
Status: Offline
Reply With Quote
Oct 9, 2007, 05:10 PM
 
I run osx and xcode deffinatly isnt here?
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Oct 9, 2007, 05:17 PM
 
If you're running a preinstalled system, the installer should be in /Applications/Installers, I think. Otherwise, it should be on your install DVD. You can download a more recent version, though, from connect.apple.com (you'll have to create a free account, but Apple won't spam you or anything).
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Sep 2005
Location: Vancouver, BC
Status: Offline
Reply With Quote
Oct 9, 2007, 05:27 PM
 
C is generally universal, but Cocoa is heavily designed around and is easiest to use with Objective C. Learning C is a good start, though, as many of the same basic constructs and methodologies are carried over.
     
Junior Member
Join Date: Jul 2005
Status: Offline
Reply With Quote
Oct 10, 2007, 02:58 PM
 
Here is what im wanting to get out of xcode, ive made a carbon appliction project



here is what ive got so far




could someone help i understand the basics of c but am not sire as to were to place it? thanks
     
Fresh-Faced Recruit
Join Date: Aug 2005
Status: Offline
Reply With Quote
Oct 10, 2007, 03:32 PM
 
You would be better off learning Cocoa than Carbon. Interface Builder does a lot more for Cocoa programs than Carbon programs so you have to write less code. You'll also find more Cocoa programmers that can help you.

If you still want to use Carbon, you're going to have to learn it. Knowing the basics of C isn't going to teach you how to implement the drop down box or how to get the sum to show up in the text field in the box. GUI programming isn't easy, which is why most schools start with programming simple command-line programs. To learn Carbon you're going to have to read Apple's documentation. If you did a standard install of Xcode, the developer documentation should be available by choosing Help > Documentation. In the Search Groups section, select Carbon to open the Carbon developer documentation. Click the Getting Started link and work through the material in the Getting Started section.
Mark Szymczyk
Author, Xcode Tools Sensei
http://www.meandmark.com
     
   
Thread Tools
Forum Links
Forum 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 On
Top
Privacy Policy
All times are GMT -5. The time now is 09:33 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2