C++ when I cast a char to a string it becomes a number code example
Example 1: c++ cast char to string
// example
char sczName[] = {"Jakes"};
std::string strName = std::string(sczName);
/* SYNTAX
#include <string>
std::string(<char-to-convert>)
*/
Example 2: char to string c++
std::cout << std::string(1, c) << std::endl;