• 0

[C/C++] 2 Questions


Question

1. I want to have multiple colors in my console apps, I know there is conio.h, but does anyone have a list for what the color #'s are for textcolor()? Which brings me to Question #2.

2. In conio.h all I see are protypes to functions, where is the actual source code?

Edited by b0b
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

In my conio.h I have this colors:

typedef enum {

BLACK,

BLUE,

GREEN,

CYAN,

RED,

MAGENTA,

BROWN,

LIGHTGRAY,

DARKGRAY,

LIGHTBLUE,

LIGHTGREEN,

LIGHTCYAN,

LIGHTRED,

LIGHTMAGENTA,

YELLOW,

WHITE

} COLORS;

For your second question I have a conio.c where my conio.h resides... :unsure:

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.