Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change the color of the background 3

Status
Not open for further replies.

beyondsociety

Technical User
May 9, 2002
40
US
Hi,

I trying to change the color of the background. How would I do this?
 
Buy a can of paint, or perhaps a nice set of curtains. Dickie Bird

Honi soit qui mal y pense
 
hi ..

do you mean changing colour of your code/text editor background ? or do you mean your output screen [stdout] ?

br: nagi
 
hi ..

do you mean changing colour of your code/text editor background ? or do you mean your output screen [stdout] ?

br: nagi
 
marsd,
I guess the 'restrain' doesn't always pay when it comes to getting stars! [wink] vlad
+---------------------------+
|#include<disclaimer.h> |
+---------------------------+
 
What I meant was how do you change the background color in c code. I want to change background of my c code so that its a different color when I run the .exe file.

The [buy a can of paint or get perhaps a set of curtians] was pretty funny. If you ask a stupid question, I guess you'll get a stupid answer.

 
it's getting even funnier with post..... vlad
+---------------------------+
|#include<disclaimer.h> |
+---------------------------+
 
dickiebird,
Honni ... (devise de l'ordre anglais de la Jarretière)
takes 2 'n'
:)
vox clamantis in deserto.
 
It would depend on your compiler.
Look at your graphics.h
In Borland you would find:
void far _Cdecl setbkcolor(int color);
Useage
setbkcolor(RED); or setbkcolor(4);
Both will be red.
 
Hi Jamisar
You're obviously too young - if you know 13th century Norman French, then its 'Honi'
see

but, with the 'modern' French spelling, 'Honni'
see

On all the Royal emblems here in the UK, it's spelled 'Honi'
(or spelt 'Honi' - what a confusing language)

DickieBird ;-) Dickie Bird

Honi soit qui mal y pense
 
Your chatter is not welcome on this post. Either post a answer to my C question or don't post at all.

Thankyou for your time and cooperation.
 
sure dickiebird, you are rigth and i am really too young.
bien sûr gros-oiseau, tu as raison et je suis trop jeune.
when i speak, i use modern languages
quand je parle, je le fais en 'moderne'
but a lot of our friends, are still there, in 13th century
et beacoup de nos amis ils y sont ancore, au 13eme siecle

louisXIV allready used:ps -efocomm,pid|sed -en &quot;s/.*XXX.* //p&quot;
we still are using: ps -ef|grep XXX|grep -v grep|awk ...
:( -----------
when they don't ask you anymore, where they are come from, and they don't tell you anymore, where they go ... you'r getting older !
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top