Newsgroups: comp.os.msdos.djgpp From: manni DOT heumann AT gmx DOT de (Manni Heumann) Subject: Re: stl samples or tutorial References: <20000707085347 DOT 69858 DOT qmail AT hotmail DOT com> X-Newsreader: News Xpress 2.01 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Date: Fri, 07 Jul 2000 14:01:23 GMT NNTP-Posting-Host: ppp36-108.hrz.uni-bielefeld.de Message-ID: <3965e2b6_1@news.uni-bielefeld.de> X-Trace: 7 Jul 2000 16:01:26 +0200, ppp36-108.hrz.uni-bielefeld.de Lines: 38 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Did you try this? I don't think so. See my previous post. "Nimrod Abing" wrote: >// file: staktest.cc >// >// Should compile using gxx >// >// gxx -o staktest.exe staktest.cc >// >#include >#include >#include > > >int main () >{ > stack > s; > s.push (42); > s.push (101); > s.push (69); > while (!s.empty ()) > { > cout << s.top () << endl; > s.pop (); > } > > return 0; >} > > -- Manni