DOS graphics in C

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ind8105
    New Member
    • Nov 2006
    • 2

    DOS graphics in C

    Please, someone ,can you email me a program in C to change the dull boring black background of DOS to whatever colors I want and text words to whatever colors I want? My compiler is for C.

    Thank you so very very much.

    My email is EJohnson2168@cf l.rr.com

    Edward
  • baburk
    New Member
    • Oct 2006
    • 111

    #2
    use sergrbpalette(0 x0,red,green,bl ue). This changes the background color that U want. 0x0 satands for background, 0x1 stands for border color.

    Comment

    • sivadhas2006
      New Member
      • Nov 2006
      • 142

      #3
      Originally posted by baburk
      use sergrbpalette(0 x0,red,green,bl ue). This changes the background color that U want. 0x0 satands for background, 0x1 stands for border color.
      Hi,

      You suggestion may be used for graphics mode.

      For DOS mode, we want to use
      Code:
      textbackground(GREEN);
      Regards,
      M.Sivadhas.

      Comment

      Working...