SetConsoleTextAttribute (GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED);
However I need more colors. I heard that curses can do it. But in DEV-C++, there are not <curses.h> header file. And I don't really understand how to use it or if it can help me to use with more colorful text color. Also, I tried to download ncurses 5.6 and curses 1.23. However, I don't know if they are useful or not. And I don't know how to use them.
So, please help me to answer the question.
And I need a example program which can be compiled in DEV-C++. Also, I'm using windows but not unix or linux. And my knowledge is very limited, please give me more details about it. Thank you.