Where can I look up a table of all the ascii characters and their number value?
Printable View
Where can I look up a table of all the ascii characters and their number value?
Write your own prog to do it!Quote:
Originally posted by Shadow12345
Where can I look up a table of all the ascii characters and their number value?
Or :
http://www.asciitable.com/
just make a loop in a program, for example:
for(int i = 0; i < 256; i++)
cout << char(i) << "\t";
which should output all the ASCII codes to your screen.
enjoy.
:)
yes, but with that loop you'd get some strange results for the first bunch of them because the first batch are command/control chars (\n, \0, etc.)
Hey well that loop really is a good idea, I wish I had gotten the air out of my head and thought of it.
Thanks.
It is always a pleasure sharing any of my knowledge with someone.