//char2.cpp //Csci 107 Laura Toma //characters in C++ and ASCII codes //In C++ (and in general in any programming language) each character //is represented as an integer value. The standard scheme is called //ASCII. ASCII is an international standard for representing //characters. The ASCII code of a chracter is an integer between 0 and //255. However, only numbers 32 to 126 have been assigned so far o //printable characters. The remaining numbers are either unnassigned //or are used for control characters such as tab and return. //The following program gives you the ascii conversion table for the //numerical values 32-126 #include int main() { int i; i = 32; while (i <= 126) { cout << "code=" << i << " char=" << (char)i << endl; i = i+1; } return 1; }