Display ANSI graphics in C from TheDraw?
I downloaded a program called TheDraw which is supposed to allow you to make ANSI graphics and export them to C and the like. Well, I exported something to C, and it printed some code that looked basically like what is in below, and I was wondering what to type to display it..... I tried printf("%s", KRIS); thinking that would work because it said "char KRIS []" so I figured that means it made a string array, right? I'm new to c, but I figured that would work, unfourtunatly, it didn't, so I'm wondering what does work?
Thanks,
ash
Code:
/* TheDraw C Screen Image. Date: 12/28/05 */
#define KRIS_WIDTH 80
#define KRIS_DEPTH 25
#define KRIS_LENGTH 4000
unsigned char KRIS [] = {
' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F,
' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F,
' ', 0x0F, 'H', 0x0F, 'i', 0x0F, ' ', 0x0F, ' ', 0x0F, ' ', 0x0F};