More specifically, in the input code, how can you display all of the displayable ASCII characters with codes in the range 32 to 255 and also include display 16 ASCII characters per line, which will display in the program output?
How to display ASCII characters on C++
Collapse
X
-
So am I right, you want an output like this:
Well the part in inverted commas should be OK. How would you write the code to output the ASCII code numbers? Use the mod % operator to limit the line length to 16 units of character data in a for loop.Code:" " 32,"!"33,"""34,.........."0"48 "1"49..........................."A"65//and so on ?
Comment