C++ script showing usage of stringstream