man ascii would be a start
You could define some color escape strings like:
Code:
#include <stdio.h>
#define COLOR_RED "\033[;1;31m"
#define COLOR_END "\033[0m"
int main() {
printf("%sHello World%s\n", COLOR_RED, COLOR_END);
return 0;
}
[edit]
Wait, curses has already colors macro defined, try:
man curs_color