Skip to content

Instantly share code, notes, and snippets.

Last active Jun 5, 2016
What would you like to do?
C/C++ Codes

Char to String conversion C++

    int i = 65;
    char c = i;
    string s;
    stringstream ss;
    ss << c;
    ss >> s;
    cout << s << endl;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment