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:                       [EMAIL PROTECTED]
Blue Sky Studios                http://www.blueskystudios.com
44 South Broadway, White Plains, NY 10601
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to