Re: [squid-users] Adding Header file

From: Alex Rousskov <rousskov@dont-contact.us>
Date: Wed, 16 Apr 2008 09:34:14 -0600

On Tue, 2008-04-15 at 22:22 +0530, Paras Fadte wrote:

> Thanks for the reply. The header file that I want to include is
> "stack" which is already available in C++ just like "iostream" . When
> I include it in a squid source file and try to create a stack
> datatype, it gives an error saying "error: `stack' undeclared (first
> use this function) " .
>
>
> Example:
>
> #include <stack>
>
> stack<char> test; - -> gives error.

Try

        std::stack<char> test;

Alex.
Received on Tue Apr 22 2008 - 15:34:54 MDT

This archive was generated by hypermail 2.2.0 : Wed Apr 30 2008 - 12:00:07 MDT