Igor Delovski Board Forum Index Igor Delovski Board
My Own Personal Slashdot!
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Hello World Projects

 
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon
Mac Carbon  
Author Message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Thu Mar 08, 2007 4:18 pm    Post subject: Hello World Projects Reply with quote

Hello World problems in C

"In that case, "Standard Tool" is the Xcode project type you want for a
straight-C (as opposed to C++) program, such as Hello, World. As before,
you must keep your code wrapped in the template the main.c file creates,
just put your code where it says "// insert code here..." (duh).

Once you are ready to try Objective-C and Cocoa (in which you can use all
your straight-C skills without problem), then you probably want the "Cocoa
Application" or "Cocoa Document-based Application" project types. If compiling
C in the Terminal, you want the "gcc" command (where you were using
"g++"). If you hunt for tutorials, make sure you find one that is teaching
you ANSI C and not C++, because even though they are related, it can
really get confusing between the two of them. Should be tons of straight-C
tutorials online."
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Sat Mar 10, 2007 5:05 pm    Post subject: Reply with quote

macosx.com - Programming & Web Scripting: Error in Learning Carbon Book?

"I was struggling to grasp the aspect of carbon programming in the GUI using
interface builder (i don't know the raw-code way yet, and don't correct me
on that stance with technicalities please ), and I got to the point where the
'moon travel planner' can calculate all the different modes of transport."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Sun Mar 25, 2007 12:40 am    Post subject: Reply with quote

CarbonDev

"CarbonDev is the place for Macintosh Carbon Development: Carbon Books,
Carbon Resources, Mailing Lists, Carbon Source Code, Hints And Tips"
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Sat Mar 31, 2007 12:22 am    Post subject: Reply with quote

C compiler

"I just got my first mac (a macbook), after using Linux for many
years. Seems like it takes a lot of effort to get up an environment
that can build things, such as open source packages. I've downloaded
Xcode and installed some packages that looked like they made sense,
including gcc, developer tools, and extras. I am trying to compile a
simple C program, with no luck. "
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Mon Apr 02, 2007 9:13 pm    Post subject: Reply with quote

Mail List: "Modern" Carbon applications

"If someone were to start learning Carbon today, what is the best example
program to use as a template? I can't think of any."
Back to top
View user's profile Send private message Visit poster's website
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Fri Apr 20, 2007 11:46 pm    Post subject: Reply with quote

MacTech: Getting Started: Circa 2002, by Dave Mark

"Though the vast majority of all Macs still run System 9 or earlier, the future
is clear. This is a unique moment in time and you have a unique opportunity."


See also: Learn C on the Macintosh - Mac OS X Edition



"Considered a classic by an entire generation of Mac programmers, this
popular guide has been completely updated for Mac OS X. Don't know
anything about programming? No problem! Acclaimed author Dave Mark
starts out with the basics and takes you through a complete course in
programming C using Apple's free Xcode Tools."
Back to top
View user's profile Send private message Visit poster's website
Ike
Kapetan


Joined: 17 Jun 2006
Posts: 3026
Location: Europe

PostPosted: Fri Jul 06, 2007 2:46 pm    Post subject: Reply with quote

/dev/hello_world: A Simple Introduction to Device Drivers under Linux

"In this article, we will use the same approach to learn how to write simple
Linux kernel modules and device drivers. We will learn how to print "Hello,
world!" from a kernel module three different ways: printk(), a /proc file, and
a device in /dev."
Back to top
View user's profile Send private message
delovski



Joined: 14 Jun 2006
Posts: 3522
Location: Zagreb

PostPosted: Tue Nov 13, 2007 1:01 am    Post subject: Reply with quote

The List: Resources for learning modern Carbon?

Jim Wrenholt:

"For a list of all Apple Carbon Code
http://developer.apple.com/samplecode/Carbon/index-date.html

A good starting example is the DTSCarbonShell.
http://developer.apple.com/samplecode/DTSCarbonShell/index.html

Getting Started with Carbon is also worth looking at.
http://developer.apple.com/referencelibrary/GettingStarted/GS_Carbon/index.html

Also, some of the newer examples from the QuickTime team are quite good."
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Igor Delovski Board Forum Index -> Mac Carbon All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Delovski.hr
Powered by php-B.B. © 2001, 2005 php-B.B. Group