• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: C++
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: C++


  • Subject: Re: C++
  • From: "Todd Heberlein" <email@hidden>
  • Date: Tue, 28 Aug 2001 08:32:26 -0700
  • Organization: Net Squared, Inc.

> I'm a C++ programmer, recently moved to Mac OS X development. If I
> wanted to continue coding in C++ what are my options?

The GNU autotools (autoconf, automake, and libtool) all work pretty well
under MacOS X, so if you are comfortable with the classic UNIX/Linux
style of C++ development, you can make the move with hardly a blink.

However, from my perspective the autotools are primarily good for
developing servers and/or libraries on MacOS X. If you want to build
GUI based applications there are a couple of routes you can take.

First, you could install X windows on MacOS X and use the various C or
C++ APIs for the different X widget sets.

Second, as others have mentioned, there is the classic Carbon API that
works well with C and C++.

Third, use ObjC++. I write mose of my code in C++, but I have yet to
see an environment that is as easy and powerful for generating user
interfaces as the Cocoa/ObjC combinations. ObjC++ is a nice compromise
letting you quickly build graphical interfaces but still leverage your
existing code base and experience in C++.

Fourth, write GUI code in Java and use JNI to access your current C++
code.

There are, of course, various trade-offs between the different
approaches. You will have to find what best suits your needs.

Todd


References: 
 >C++ (From: "Smith, Bradley" <email@hidden>)

  • Prev by Date: Re: Using a variable in different class
  • Next by Date: Re: Learning to program Cocoa
  • Previous by thread: Re: C++
  • Next by thread: RE: C++
  • Index(es):
    • Date
    • Thread