ostrstream Visual Studio 8  
Author Message
spy_234432





PostPosted: Sun Dec 05 16:29:18 CST 2004 Top

MFC >> ostrstream Visual Studio 8

I'm using the beta 2 of VS 2005 for the first time. I'm an experienced VC6
user. I've build a simple MFC dialog app using the wizard. I want to use
ostrstream but I can't get it to compile. Usually I would include
<strstrea.h> but this header can't be found by the compiler so I've used
<strstream> and now the compiler can't find 'ostrstream'. What am I doing
wrong?

Visual Studio37  
 
 
David





PostPosted: Sun Dec 05 16:29:18 CST 2004 Top

MFC >> ostrstream Visual Studio 8 >I'm using the beta 2 of VS 2005 for the first time.

Really? How did you get it? B1 perhaps?

> I'm an experienced VC6
>user. I've build a simple MFC dialog app using the wizard. I want to use
>ostrstream but I can't get it to compile. Usually I would include
><strstrea.h> but this header can't be found by the compiler so I've used
><strstream> and now the compiler can't find 'ostrstream'. What am I doing
>wrong?

Have you specified std::ostrstream or alternatively have a "using
namespace std" line?

Dave
--
MVP VC++ FAQ: http://www.mvps.org/vcfaq