Thursday, February 5, 2009

ASCII

I am not as far along as I would like to be but slow progress is still progress. I must output the extended ASCII character set in the range [33,255] while using a loop to output each possible value between 33-255. I know I must use unsigned char to accomplish this feat but I have brain freeze.

Any hints are welcome...........

1 comment:

Lewis Moronta said...

very easy actually... you want unsigned char cuz possible values for this type are [0, 255]... so in essence, your loop will go from 33 to 255 (instead of starting at zero). HINT char a = 65; is the same as char a = 'A'; according to the ASCII table.