C++ extended ASCII

Hi again guys, my question is this now, how can I use the extended ASCII code in my C++ programs? I'm using Dev-C++ and windows XP, I mainly need ┤ ┘ ┐ and that sort of characters, is it possible?
"The term extended ASCII (or high ASCII) describes eight-bit or larger character encodings that include the standard seven-bit ASCII characters as well as others."
-Wikipedia

What you're referring to is code page 437 (http://en.wikipedia.org/wiki/Code_page_437 ).
Why do you need them?
exactly, basically i need them because i have no knowledge yet about graphical programming, but i thought about drawing the images i need (nothing difficult, just dices) with it, like this:

┌─────────┐
│ │
│ │
│ • │
│ │
│ │
└─────────┘

i know it doesnt look good here but it does in my program
Normally I would be against doing this, but what I'm thinking would just triplicate the complexity.

You can look up in the link I posted earlier the character you need, then to display them, just convert their hex value to char:
std::cout <<(char)0xB3;
Last edited on
I see, thanks
a shorter way is this: cout << '\xB3';
Topic archived. No new replies allowed.