This sounds like a problem I ran into in the past.  When I first created a 
project, it would give me AppMain.c.  What this means is when it started to 
complie it thought the whole project was C.  If I wanted to add in any C++ 
files, I had to change the file name of my AppMain.c to AppMain.cpp.  At 
that point I was able to complie the C++ files.  The only difference I saw 
when changing my .c file over to a .cpp was it forced me to type cast almost 
everything.  A bit anoying the first time i had to go through the file and 
type cast everything that needed it (mostly memory allocation since it goes 
from a void* to Char*).  This fixed the problem of the compiler not seeing 
such key words like "class" and "private".  Let me know if you need any help 
with the converstion process.

-- 


Scott Erickson
Software Engineer, FB-4, Inc.
[EMAIL PROTECTED]
"Ray Kinsella" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>
> Hi all,
>
> I am getting really frustrated trying to use C++ with pods,
> adding stlport to the includes tree, the compile still throws
> the following error "stlport/string: No such file or directory",
> when I add a class the compiler seems to ignore it ?
> if I include a class with C++ in it, the compiler doesn't recognise
> basic keywords.
>
> Have I missed something fundamental here ?
>
> Thanks
>
> Ray Kinsella
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to