hwo to convert a char to string in 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);
}