Source Code File 03-09_notice
03-09_notice.c
#include <ncurses.h> int main() { initscr(); addstr("Attention!\n"); beep(); refresh(); getch(); addstr("I said, ATTENTION!\n"); flash(); refresh(); getch(); endwin(); return(0); }
Output Screenshot
(Click image to update.)
Notes
* My terminal window beeped the first time. The second time it flashed, then displayed the text.
* The flash feature might not be enabled on the terminal window.
Copyright © 1997-2024 by QPBC.
All rights reserved