conerting single length sting to char cpp 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);
}