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

Usage


   #include <disp.h>
   void disp_puts(const char * p);

Description

   Writes the string pointed at by p to the current Display package output
   location using the character attribute set by disp_setattr. Handles tabs,
   carriage returns and backspaces, etc. correctly. Unlike puts it does not
   write a newline at the end of the string.

Example 

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

   char *first =
      "disp_puts needs a newline at the end, ";
   char * second =
      "otherwise output continues on the same line.\n";


   int main()
   {
       disp_open();
       disp_move(0,0);
       disp_eeop();
       disp_move(4,10);
       disp_puts(first);
       disp_puts(second);
       disp_close();
       return EXIT_SUCCESS;
   }

See Also

   Display package, disp_putc, disp_pokew, puts



See Also: disp_putc disp_pokew puts

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