On Thu, Oct 22, 2009 at 9:23 PM, totallyfreeenergy
<[email protected]> wrote:

> That's exactly the sort of thing I was looking for. However when I tried that 
> example in VC++ 2008 it comes up with undeclared identifier 'string'. I 
> thought with string.h included string is type it would understand.:(

Nope. string.h is for C-style strings. You want

#include <string>

to use the C++ string class.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
    If I were to divulge it, it would overturn the world."
               -- Jelaleddin Rumi

Reply via email to