curHelloMV.c

/**
   @file      curHelloMV.c
   @author    Mitch Richling <http://www.mitchr.me/>
   @Copyright Copyright 1999 by Mitch Richling.  All rights reserved.
   @brief     Demonstrates the ncurses mvprintw function@EOL
   @Keywords  ncurses
   @Std       C89

              Minimal ncurses program demonstrating mvprintw.
              
*/

#include <ncurses.h>            /* Popular Curses  ????  */

int main(int argc, char *argv[]);

int main(int argc, char *argv[]) {
  initscr();                         /* Initialize curses (the SCReen)    */
  mvprintw(10, 40, "Hello, World!"); /* Print "Hello, World!" to 'stdscr' at (40,10) */
  refresh();                         /* Draw 'stdscr' on the real screen  */
  endwin();                          /* Shutdown curses                   */
  return 0;                          /* We are done, time to exit.        */
} /* end func main */

Generated by GNU Enscript 1.6.5.2.