Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>disp_close</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_close

Usage

   #include <disp.h>

   void disp_close(void);

Description

   Flushes output and terminates use of the Display package. Restores the
   cursor position, and type, to that in effect when the package was opened.

Example 

   #include <conio.h>
   #include <disp.h>
   #include <stdlib.h>

   int main()
   {
       disp_open();
       disp_move(10,0);
       disp_setcursortype(DISP_CURSORHALF);
       disp_printf("Press a key to restore cursor\n");
       getch();

       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_open



See Also: disp_open

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson