C++ string class

How can I use the C++ string (std::string) in my code?

I’m using NET+OS 7.1.
I know that my code is being liked with -lstdc++. I think that library contains the string class, but I don’t know which header file to include.

std::string s;

That’s all.


I am using NET+OS 7.1 on a Digi Wi-EM board, and am trying to compile a program that uses a mixture of C and C++. Errors appear at compilation because, as far as I can see, the compiler can not find some of the standard C++ libraries such as and . I guess this is a linking problem, but wouldn’t know where to start to fix it.
Thanks in advance for any help or advice,