Re: [newbie] stack with templates

From: Prateek R Karandikar (kprateek88_at_yahoo.com)
Date: 06/15/04


Date: 14 Jun 2004 16:54:07 -0700

The FAQ advices you to put one of { [C], [C++], [C,C++] } in the
subject;

Writing a class template to implement a stack is good as an exercise,
but in real code one should use std::stack;

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
To iterate is human, to recurse divine;
-L. Peter Deutsch
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!