Hello? I want to know "how to convert char to string"
This is my C code
    string firSen;
    int comma1=0;
    cout<<"Please write your sentence"<<endl;
    getline(cin,first);
    int a=firSen.first("string");
    for(i=a;firSen[i] != ',';i++)
        comma1=i;
    cout<<firSen[comma1-3]<<firSen[comma1-2]<<firSen[comma1-1]<<endl;
I will write "The string is 100s, Thank you"
I know firSen[comma1-3]=1, firSen[comma1-2]=0, firSen[comma1-1]=0 for type of char.
And I want to put these char into string (Like 1,0,0 into string of 100) because I want to use atoi function....
Do you know how to convert char into string?
 
     
    