Source Code 00-01_box
00-01_box.c
#include <ncurses.h> int main() { /* start Ncurses */ initscr(); box(stdscr,'*','*'); refresh(); getch(); /* clean-up */ endwin(); return 0; }
Output Screenshot
Notes
* The box() function is officially introduced later in the book. See source code file 09-10_box.c
Copyright © 1997-2025 by QPBC.
All rights reserved