Hey, how can i change colors in DOS programming(C++)?
I know this probably ain't hard, but i figured ask anyway Thanks for the help
-Kavity
Hey, how can i change colors in DOS programming(C++)?
I know this probably ain't hard, but i figured ask anyway Thanks for the help
-Kavity
i'm not stupid, just a little short on brains.
Kav's game!
Featuring:
# - Goodguy mc goodguy
* - Bad guy mc badguy
$ - Princess Mc Cess
@ - Mcdonalds Mc chicken! mmmmmm
It depends.
If you are trying to change the text color,use:
textcolor();
If you are using BGI:
setcolor();
If you are using anything else, explain.
It depends on the compiler. In Borland, for example, DavidP's solution should work, but in others (or in certain screen modes even in Borland) it may not.