www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - STL vs. STLport (And <string>)

↑ ↓ ← "Kevin Albrecht" <kevin albrecht.net> writes:
I am trying to figureout the differences between the already
included STL and STLport.  Is STLport more standards
compliant? faster?

Also, how do I use the Standard C++ string library?  If I
use <string.h>, I get the C library, If I use <string>, I
get an error.

Thanks,
Kevin
Feb 22 2004
↑ ↓ "Walter" <walter digitalmars.com> writes:
"Kevin Albrecht" <kevin albrecht.net> wrote in message
news:c1bmj0$29bk$1 digitaldaemon.com...
 I am trying to figureout the differences between the already
 included STL and STLport.  Is STLport more standards
 compliant? faster?

Use STLport, as the other is no longer supported.
 Also, how do I use the Standard C++ string library?  If I
 use <string.h>, I get the C library, If I use <string>, I
 get an error.

Compile with: -I\dm\stlport\stlport
Feb 22 2004
↑ ↓ "Will Dean" <will nospam.demon.co.uk> writes:
"Walter" <walter digitalmars.com> wrote in message
news:c1c4kg$31a4$1 digitaldaemon.com...
 Use STLport, as the other is no longer supported.

Am I right in thinking that STLport doesn't work with dos-extended applications? (Because of its unquenchable desire for the presence of various Unicode functions) If so, is there now no 'official' route for using and STL library in 32-bit DOS applications? Thanks, Will
Feb 23 2004
↑ ↓ "Walter" <walter digitalmars.com> writes:
"Will Dean" <will nospam.demon.co.uk> wrote in message
news:c1cg9d$ks7$1 digitaldaemon.com...
 "Walter" <walter digitalmars.com> wrote in message
 news:c1c4kg$31a4$1 digitaldaemon.com...
 Use STLport, as the other is no longer supported.

Am I right in thinking that STLport doesn't work with dos-extended applications? (Because of its unquenchable desire for the presence of various Unicode functions)

Yes. DOS, unfortunately, doesn't do unicode.
 If so, is there now no 'official' route for using and STL library in

 DOS applications?

You can still use STL on that.
Feb 23 2004
↑ ↓ → "Will Dean" <will nospam.demon.co.uk> writes:
"Walter" <walter digitalmars.com> wrote in message
news:c1dgje$2el7$1 digitaldaemon.com...
 Yes. DOS, unfortunately, doesn't do unicode.

Sure. And I don't want to either! (In this app...) It's a pity that STLport creates this artificial dependency. (Not your fault, I know)
 You can still use STL on that.

Thanks. Cheers, Will
Feb 24 2004