From pbh@CS.SunySB.EDU Fri Oct 31 07:12 PST 1997
Received: from cs.sunysb.edu (sbcs.sunysb.edu [130.245.1.15])
	by ghost.CS.ORST.EDU (8.8.5/8.8.5) with SMTP id HAA05080
	for <budd@cs.orst.edu>; Fri, 31 Oct 1997 07:12:41 -0800 (PST)
Received: from sbpbh.csdept (sbpbh.cs.sunysb.edu [130.245.1.38]) by cs.sunysb.edu (8.6.12/8.6.9) with SMTP id KAA05291 for <budd@cs.orst.edu>; Fri, 31 Oct 1997 10:14:04 -0500
Received: by sbpbh.csdept (4.1/SMI-4.1)
	id AA19649; Fri, 31 Oct 97 10:14:03 EST
Date: Fri, 31 Oct 1997 10:14:04 -0500
From: Peter Henderson <pbh@CS.SunySB.EDU>
Message-Id: <199710311514.KAA05291@cs.sunysb.edu>
To: budd@cs.orst.edu
Subject: stl
Content-Type: text
Content-Length: 1259
Status: R

Tim,

I have about 35 students using different platforms.  With respect to
stl each seems to be different and has it own little strange quirks.
If people will be using your book based on our experiences it would be
very beneficial to provide an STL fact sheet for each of the basic
platforms.

Here is an overview:

g++ we have using 1994 HP STL.  Basically pretty stable but does not
conform to all specifics in your book (eg, resize( ) missing for
vectors).

Borland:  Need to add following line after #include lines

using namespace std;  // needed for Borland

Different versions seem to work differently.  Once student got it
working with 4.0, but had to add operators "=" and "==" (I believe) to
classes for it to work.

We got STL working pretty well with 5.02 after some playing arround.

Microsoft VC++ 5.0:

Again need :

using namespace std;

This is a real strange bird.  We have versions of 5.0 which behave
differently.  In one, only system and user defined types can be used
(eg, vector<int> works but vector<Coin> won't).  It will not accept
classes at all.  We contacted microsoft and they said there is a
recent bug fix for this.  But several other students got it working
with MS VC++ 5.0.  Go figure.

Anyway, hope this is helpful.

Pete


