delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/02/15/00:14:16

Message-Id: <3.0.6.32.19990215001242.008ed440@pop.netaddress.com>
X-Sender: pderbysh AT pop DOT netaddress DOT com
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.6 (32)
Date: Mon, 15 Feb 1999 00:12:42 -0500
To: djgpp AT delorie DOT com
From: Paul Derbyshire <pderbysh AT usa DOT net>
Subject: Re: Need Help Getting Started with STL
In-Reply-To: <uyLx2.7846$lx.3834@news2.giganews.com>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com

At 02:23 AM 2/15/99 GMT, you wrote:
>I'm having some difficulty getting started with the STL that comes with
DJGPP.
>It sure would help to have some examples, ones that demonstrated the entire 
>file to show what files are included, etc.
>
>Just for starters, I tried this example from ObjectSpace example set.  I 
>figure that the syntax of the STLs may differ, but I get a bunch of compile 
>errors in header files.  I don't know where to start looking.


Code looks fine. But you should #include <vector> and #include <algorithm>.
Where did you get that "stl.h" anyways?

-- 
   .*.  "Clouds are not spheres, mountains are not cones, coastlines are not
-()  <  circles, and bark is not smooth, nor does lightning travel in a
   `*'  straight line."    -------------------------------------------------
        -- B. Mandelbrot  |http://surf.to/pgd.net
_____________________ ____|________     Paul Derbyshire     pderbysh AT usa DOT net
Programmer & Humanist|ICQ: 10423848|

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019