sstream compile errors

Started by
2 comments, last by Gammenon 13 years, 4 months ago
I am getting a very strange error with the following code.

error: 'stringsteam' is not a member of 'std'
error: 'stringsteam' is not a member of 'std'
error: 'stringsteam' is not a member of 'std'

std::string str = "/pts_";
stringsteam out;
out << tmp2;
str += out.c_str();
out.flush();


I can't see where the error is, as I've included the following header files,
#include <iostream>
#include <sstream>
#include <string>




Advertisement
Change stringsteam for stringstReam (of course everything at lower case) ;)
Thanks, I can't believe I didn't see the typo.
It happens sometimes, you spend a lot of time with some absurd problem and it just was a typo. Happy coding ;)

This topic is closed to new replies.

Advertisement