Mega Code Archive

 
Categories / C++ Tutorial / Operators Statements
 

Display all printable characters including the extended character set

#include <iostream>  using namespace std;    int main()  {    unsigned char ch;      ch = 32;    while(ch) {      cout << ch;      ch++;    }      return 0;  } !"#$%&'()*+,-./0123456789:;?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmno pqrstuvwxyz{|}.....