ostringstream Example in c++

#include<iostream>
#include<conio.h>
#include<sstream>
#include<string>
using namespace std;
int main()
{
   
    std::ostringstream outputString;
    char output;
string str="good ";
string str2="students";
outputString << str<< str2;       // output in string
cout << outputString.str();        // copy of the string.


getch();
return 0;
}