At 04:15 AM 7/23/2007, you wrote:
Subject: RE: Trouble with classes
From: [EMAIL PROTECTED]
Date: Sun, 22 Jul 2007 15:27:18 -0000
X-Message-Number: 6

Is there a good place where I can check to see which items should be C and which ones C++?

What I am getting from the last post was that the header files for palm programming are in C, so I have to tell the compiler to use my includes as C instead of C++. How about the rest of my code?

The Palm and Access header files usually have the extern C built-in, so you shouldn't need to worry about that.

Just either rename your source files with the cpp extension, or use the compiler flag in PODS to always compile c++ code.

I always build my code in c++ mode (though in Metrowerks Codewarrior) regardless of use of classes because of the better compile-time error checking.

With PODS, then next big issue you'll hit is multi-segment code, and discussions on that are in the archives.


Roger Stringer
Marietta Systems, Inc. (www.rf-tp.com)


--
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to