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_pokew</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
disp_pokew


Usage

   #include <disp.h>
   void disp_pokew(int row,int col,int attrchar);

Description

   Pokes an attribute and character into a specified row and column. The
   character and attribute are passed as a combined value in an unsigned
   integer (the form in which they are returned by disp_peekw). Use

       attrchar = attribute*256 + character

Example 

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

   int main()
   {

       unsigned chatt;

       chatt = DISP_REVERSEVIDEO*256+'a';

       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_pokew(4,4,chatt);
       disp_close();
       return EXIT_SUCCESS;
   }
   disp_pokebox, disp_peekbox

See Also

   Display package, disp_peekw, disp_pokebox, disp_peekbox



See Also: disp_peekw disp_pokebox disp_peekbox

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