and Thanks Richard. -----Original Message----- From: Waseem Anis Sent: Friday, July 05, 2002 11:21 AM To: Palm Developer Forum Subject: RE: Opensource C++ Classes ?
Thanks Ben...I finally got it working. -----Original Message----- From: Richard Coutts [mailto:[EMAIL PROTECTED]] Sent: Friday, July 05, 2002 10:44 AM To: Palm Developer Forum Subject: Re: Opensource C++ Classes ? >I have V7, but could not find any reference to STL (or the kind) form Palm. >Any pointers are welcome. Below's a post from Ben that should clear things up: In article <88984@palm-dev-forum>, [EMAIL PROTECTED] says... > > My version of CW8.0 didn't seem to come with the Standard Template Library. > I did a quick search on the net and found a lot of references to people > using STL with CW, but didn't see any particulars about how to install it. > > Mostly I'm after the String class. I did a quick test of adding "#include > <String>" to one of by source files, but CW flagged it. > > If someone could clue me in as to how to add STL to my project, I would be > indebted. The STL is part of the MSL Standard C/C++ Library. When you create a new project using the Palm OS application wizard, make sure you have this library option checked on the "Other SDKs" page. You can also add it manually by adding a system access path to "{Compiler}/(MSL for Palm OS)". Finally, use <string>, not <String>... while Win32 won't care about the case in finding the file, all of the standard headers are all lowercase and this will make your code more portable. -- Ben Combee <[EMAIL PROTECTED]> CodeWarrior for Palm OS technical lead Get help at http://palmoswerks.com/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
