Mail Archives: djgpp/1997/08/25/21:49:45
On Mon, 25 Aug 1997 11:27:03 +1000, gyroscope
<s336627 AT student DOT uq DOT edu DOT au> wrote:
I believe you need a space between the 'e' in template and the <
character. Like so:
template <class T> {
...
>At the risk of looking foolish, I am wondering what *exactly* is the
>syntax for implementing templates in DJGPP. I tried this code snippet
>from Stroustrup's 'C++ Programming Language' and it gives me a parse
>error before < :
>
>template<class T>
>class stack {
> T* v;
> etc.
>};
>
>(i read info and it brought up only how the compiler deals w/ templates)
>
>-Tobias
>-----------------------------------------------------------------------
>"...and the enemy cried with frustration as they read the message..."
> - the book of delaying tactics.
>-----------------------------------------------------------------------
- Raw text -