Changing console colors in C?

Started by
3 comments, last by Utwo 20 years, 1 month ago
I tried using textcolor(int) and included conio.h, but I get a linker error: undefined reference to ''textcolor'' I''d like to be able to do this without any windows APIs, if possible, but the textout() function seems to be the only way. I''m using MinGW 3.2, I believe. >_<
---signature---" Actually, at the time, I didn't give a damn about the FoxNews issue... just that you would come swooping in with your Super Mith cape flapping behind you and debunk it just because it didn't happen in your living room." - InnocuousFox
Advertisement
C does not define any functions to do what you want.

Thanks Salsa!Colin Jeanne | Invader''s Realm
"I forgot I had the Scroll Lock key until a few weeks ago when some asshole program used it. It even used it right" - Conner McCloud
Ok I was afraid of that.


Thanks!
---signature---" Actually, at the time, I didn't give a damn about the FoxNews issue... just that you would come swooping in with your Super Mith cape flapping behind you and debunk it just because it didn't happen in your living room." - InnocuousFox
to youse conio stuff #include <conio.c> //sice conio.c is made as a header
This site provides a tutorial on changing the color of your text: Game Tutorials

Scroll a little ways doen until you see the heading "Color Text".

This topic is closed to new replies.

Advertisement