The char all have values - they are variables of a constant sort in your character set. The box drawing char's are the same way.
If you don't have an ascii type table for your character set with the decimal values, you can download one from the net - ascii_table.com was one such place, iirc. Anyway, Google it, and you'll find lots of sites for it. You can also print up your char set from your computer if you want to:
Code:
#include <stdio.h>
int main() {
int i;
for(i=1;i<256;i++) {
printf("%3d: %c ",i,i);
}
printf("\n");
return 0;
}
The char's you need are in the extended section, above 127.
These are some that I've used:
Code:
#define VRT 186 //vertical bar
#define HRZ2 205 //horizontal double bar
#define HRZ1 196 //horizontal single bar
#define TUP 202 //T with upward bar
#define TDWN 203 //T with downward bar
#define INTR 215 //intersection
#define LLCNR 200 //lower left corner
#define LUCNR 201 //left upper corner
#define RLCNR 188 //right lower corner
#define RUCNR 187 //right upper corner
#define LINTR 199 //left intersection -probably a T for the side
#define RINTR 182 //right intersection - ditto
There are char's for both single and double sided box figures. Your values may vary from these, by the way.
Have fun!