Message-ID: <20000707085347.69858.qmail@hotmail.com> X-Originating-IP: [208.160.246.197] From: "Nimrod Abing" To: djgpp AT delorie DOT com Subject: Re: stl samples or tutorial Date: Fri, 07 Jul 2000 16:53:46 PHT Mime-Version: 1.0 Content-Type: text/plain; format=flowed Reply-To: djgpp AT delorie DOT com // 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; } ---------------- _nimrod_a_abing_ ------------------------------------------ Homepage: http://www.geocities.com/n_abing >From: "Petr Maxa" >Reply-To: djgpp AT delorie DOT com >To: >Subject: Re: stl samples or tutorial >Date: Fri, 7 Jul 2000 07:39:43 +0200 > >Hi everybody, >I am looking for sample code for stl running with djgpp. I am just testing >examples from ObjectSpace, but some of them cannot be compiled (stack1.cpp >for example - see attached file). >Please let me know about some easy collection of examples which might run >with djgpp. > >Thanks, Petr Maxa. ><< Stack1.cpp >> ________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com