|
Boost : |
From: Richard Hadsell (hadsell_at_[hidden])
Date: 2002-12-19 10:19:51
Pavan Kumar wrote:
>
> Hi All,
>
> I am a newbie to boost libraries. Just a small query :
>
> Using the <sstream.h> library file provided at gnu.org for the
> regex example program, I am getting an error as follows :
>
> regex_merge_example.cpp: In function `int main(int, const char **)':
> regex_merge_example.cpp:74: `::ostringstream' undeclared (first use here)
> regex_merge_example.cpp:74: parse error before `('
> regex_merge_example.cpp:75: `t' undeclared (first use this function)
> regex_merge_example.cpp:75: (Each undeclared identifier is reported only
> once
> regex_merge_example.cpp:75: for each function it appears in.)
Did you mean to include <sstream> or <sstream.h>?
Try std::ostringstream instead of ostringstream.
-- Dick Hadsell 914-259-6320 Fax: 914-259-6499 Reply-to: hadsell_at_[hidden] Blue Sky Studios http://www.blueskystudios.com 44 South Broadway, White Plains, NY 10601
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk