Sunday, July 26, 2009

How can i make the ascii code work in turbo c++ explorer?

I need to build a small console application with turbo c++ explorer that uses the ascii code squares and rectangles (alt +219,220 etc..) However when i compile it and run it under dos i just get question marks and circles. How can i solve this?

How can i make the ascii code work in turbo c++ explorer?
Try printing out each character along with the number it should be. Is it correct?


are you using unsigned or signed integers?


unsigned int x; or plain old int x;?





If all else fails, these are helpful pointers in understanding more of what your problem could be.





Look up UTF-8.


Look up unicode.


Look up Code Pages.





Good Luck,


No comments:

Post a Comment