Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Borland C++ 2.x ( with Turbo C ) - <b>normvideo() set text to original intensity</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 normvideo()             Set Text to Original Intensity

 #include   <conio.h>

 void       normvideo(void);

    normvideo() sets the foreground and background text attribute to the
    value it had when the program began. All subsequent characters
    written to the screen will be displayed at normal intensity.


       Returns:     Nothing.

   -------------------------------- Example ---------------------------------
    The following statements print out text at high, low and normal
    intensity.

           #include <conio.h>

           main()
           {
               gotoxy(1,1);
               cputs("Original intensity.\n");
               highvideo();
               cputs("High intensity.\n");
               lowvideo();
               cputs("Low intensity.\n");
               normvideo();
               cputs("Original intensity.");
           }


See Also: gettextinfo() highvideo() lowvideo() textattr()

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