Box-drawing characters

Hi there.
Do anyone know how to use box-drawing characters in console applications?

I use Visual Studio 2008 if it matters :)
1
2
3
4
5
for(int i=32; i<255; ++i)
{
   cout << i << "  " << (char)i << endl;
   if( i%20 == 0) cin.get();
}
Is it impossible to just type it into the IDE by changing the encoding or something?
Yes you can. Use 'charmap' windows utility, copy characters from it and past them to your program code.

Or you may use code points like putchar(210);
"\xDE\xAD\xBE\xEF" (hexadecimal)
or
"\336\255\276\357" (octal)
Topic archived. No new replies allowed.