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++ Language Reference - disp_flush http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   disp_flush

   Usage
   #include <disp.h>
   void disp_flush(void);

   Description
   Flushes  output, moves the hardware cursor so that it  coincides  with
   the display package output position. This is necessary when the screen
   must be up-to-date, such as when input is requested from the user.

   Example
   #include <stdio.h>
   #include <disp.h>

   main()
   {
   char name[21];

        disp_open();
        disp_move(0,0);
        disp_eeop();
        disp_printf("Enter your name (maximum 20 characters)");
        disp_flush();
        gets(name);
        disp_printf("\nThank you, %s.\n",name);
        disp_close();
   }


See Also: Display_package

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