home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / Samples / C-ASM_VI.ARJ / PROGC.ZIP / PROGC040.C < prev    next >
Text File  |  1988-05-15  |  435b  |  12 lines

  1.  
  2. /************************************************************************/
  3. /* Set cursor to the middle of 80x25 screen                             */
  4. /************************************************************************/
  5.  
  6. cursor_in_middle()
  7.         {
  8.         clear_screen();
  9.         set_cursor_position(12,40);     /* Cursor in middle             */
  10.         printf("This string starts at row 12 column 40");
  11.         }
  12.