1// example
2char sczName[] = {"Jakes"};
3std::string strName = std::string(sczName);
4
5/* SYNTAX
6#include <string>
7std::string(<char-to-convert>)
8*/
1#include <iostream>
2using namespace std;
3
4int main()
5{
6 char c = 'l';
7 string str;
8 str.push_back(c);
9}