c++ cast char to string

C++
std::cout << std::string(1, c) << std::endl;// example
char sczName[] = {"Jakes"};
std::string strName = std::string(sczName);

/* SYNTAX
#include <string>
std::string(<char-to-convert>)
*/
Source

Also in C++: