By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,597 Members | 1,307 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,597 IT Pros & Developers. It's quick & easy.

DOS graphics in C

P: 2
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@cfl.rr.com

Edward
Nov 13 '06 #1
Share this Question
Share on Google+
2 Replies


100+
P: 111
use sergrbpalette(0x0,red,green,blue). This changes the background color that U want. 0x0 satands for background, 0x1 stands for border color.
Nov 14 '06 #2

sivadhas2006
100+
P: 142
use sergrbpalette(0x0,red,green,blue). 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
Expand|Select|Wrap|Line Numbers
  1. textbackground(GREEN);
  2.  
Regards,
M.Sivadhas.
Nov 14 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.