"Carbon C++ Application"

Discussion in 'Mac Programming' started by markpaul, Mar 4, 2008.

  1. markpaul macrumors newbie

    Mar 4, 2008
    Ok I've tried searching for some info on this but I can't really find anything good so here goes the question/s:

    What is it that you get when you create a project called "Carbon C++ Application" and what else do you have to add/create in order to say get a button to change some text?

    Any step by step or tutorial to follow that anyone could recommend?

    I did create a button but then I just don't know what to do past that, if anyone could help me or point me in the right direction I would really appreciate it.

    Thank you in advance!
  2. toddburch macrumors 6502a

    Dec 4, 2006
    Katy, Texas
    I recently bought the book "Learning Carbon" off the used bookshelf on Amazon. I think I paid $1. It was written for OS 9 and Project Builder (the mother of Xcode), but I have been making my way through it with only a few hiccups (running Tiger).

    Apple still has plenty of Carbon doc on their website here: http://developer.apple.com/document.../apple_ref/doc/uid/TP30001004-CH205-TPXREF120

    That's not the first page, but a page I have referred to a lot while learning the Carbon programming paradigm. (I hate that word - but sometimes it's just the right one).

  3. :P/n:(JAB) macrumors newbie

    Aug 22, 2008

    Apple really hasn't got enough support for c++ in my opinion, it's like they wanna make it impossible, so you go to objective-c
  4. Catfish_Man macrumors 68030


    Sep 13, 2001
    Portland, OR
    It's more that it costs a lot of engineering time and effort to support multiple APIs.
  5. Sayer macrumors 6502a


    Jan 4, 2002
    Austin, TX
    What Apple is focusing its resources on is the Cocoa frameworks for application development. To make something really fast, or full featured, you need a framework. Apple provides one for the Mac: Cocoa, and one for the iPhone: Cocoa Touch.

    Carbon has evolved into a behind-the-scenes middleware and is actually powering the Cocoa and Foundation framework these days more and more (window server and the Dock are still Carbon apps basically).

    If you want to go the C++ route get a C++ framework that is Mac compatible and learn that framework. Qt is used in Safari/WebKit as the abstraction layer, there's also Mono which lets you work with C# (C sharp) and .NET on Windoze.

    Making a C++ framework along side Cocoa would severely cost Apple resources it needs to focus on what makes most sense for the company to advance (and compete with Microsoft).
  6. Catfish_Man macrumors 68030


    Sep 13, 2001
    Portland, OR
    Actually KWQ is no more.

Share This Page