Hey friends , Is there any way to change textcolor in C?
I am not able to find any method...
himanjim
0
Junior Poster in Training
Recommended Answers
Jump to PostThere is no portable way of changing text color in C. It is highly a compiler dependent or OS dependent feature. If you are using Turbo compiler you can use the console I/O functions cprintf() and cputs() for color output.
#include <conio.h> int main() { textcolor(BLUE); cprintf("I'm …
All 2 Replies
~s.o.s~
2,560
Failure as a human
Team Colleague
Featured Poster
himanjim
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.