try std::stringstream