home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
QBasic & Borland Pascal & C
/
Delphi5.iso
/
C
/
Samples
/
C-ASM_VI.ARJ
/
PROGC.ZIP
/
PROGC054.C
< prev
next >
Wrap
Text File
|
1988-04-10
|
714b
|
15 lines
/************************************************************************/
/* Display 'Hello' in a single line box */
/************************************************************************/
boxed_hello()
{
static char line1[] = {218,196,196,196,196,196,196,196,191,0};
static char line2[] = {179,' ','H','e','l','l','o',' ',179,0};
static char line3[] = {192,196,196,196,196,196,196,196,217,0};
write_string(10, 35, line1); /* Display top of the box */
write_string(11, 35, line2); /* Display middle of the box */
write_string(12, 35, line3); /* Display bottom of the box */
}