Source Code File 04-07_abox
04-07_abox.c
#include <ncurses.h>
int main()
{
initscr();
addch(ACS_ULCORNER);
addch(ACS_HLINE);
addch(ACS_URCORNER);
addch('\n');
addch(ACS_VLINE);
addch(' ');
addch(ACS_VLINE);
addch('\n');
addch(ACS_LLCORNER);
addch(ACS_HLINE);
addch(ACS_LRCORNER);
addch('\n');
refresh();
getch();
endwin();
return 0;
}
Output Screenshot

Notes
* Output looks good on terminals that support the line-drawing, ACS characters, as shown above.
Copyright © 1997-2025 by QPBC.
All rights reserved
