stringstream help

If I get an error like "'stringstream' does not name a type, with my code like:

#include <sstream>

class a{
public:
stringstream ss;
};

Does that mean that I am suppose to put something in front of stringstream? or include something?
stringstream is in the std namespace, like nearly everything else in the standard library.
std::stringstream ss; should work.
Thanks. Did not know string stream was part of std.
Topic archived. No new replies allowed.