C++ tutorial for Cpp sstream