How to change the text color of console using C

The following code changes the text color of console to the color defined by color value supplied. You must include <windows.h> to use this function. It works on windows only.

Output

 

text_color

SHARE How to change the text color of console using C

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

Share