char int0 string c++ code example
Example: c++ char to string
#include <iostream>
using namespace std;
int main()
{
char c = 'l';
string str;
str.push_back(c);
}
#include <iostream>
using namespace std;
int main()
{
char c = 'l';
string str;
str.push_back(c);
}