Mac Carbon |
Author |
Message |
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Thu Mar 08, 2007 4:18 pm Post subject: Hello World Projects |
|
|
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 |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Sat Mar 10, 2007 5:05 pm Post subject: |
|
|
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 |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sun Mar 25, 2007 12:40 am Post subject: |
|
|
CarbonDev
"CarbonDev is the place for Macintosh Carbon Development: Carbon Books,
Carbon Resources, Mailing Lists, Carbon Source Code, Hints And Tips" |
|
Back to top |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Sat Mar 31, 2007 12:22 am Post subject: |
|
|
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 |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Mon Apr 02, 2007 9:13 pm Post subject: |
|
|
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 |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
Posted: Fri Apr 20, 2007 11:46 pm Post subject: |
|
|
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 |
|
|
Ike Kapetan
Joined: 17 Jun 2006 Posts: 3156 Location: Europe
|
Posted: Fri Jul 06, 2007 2:46 pm Post subject: |
|
|
/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 |
|
|
delovski
Joined: 14 Jun 2006 Posts: 3524 Location: Zagreb
|
|
Back to top |
|
|
|