I'm haveing a bit of an issue with the function SetTextColor()..and i'm pretty much lost. I'm getting the errors of "invalid conversion from", and "too few arguments to function `COLORREF".
Heres my code:
Anyone have a clue what i'm doing wrong?
/*Headers for this file*/
using namespace std;
HANDLE m_Screen = GetStdHandle(STD_OUTPUT_HANDLE);
HANDLE m_Keyboard = GetStdHandle(STD_INPUT_HANDLE);
ConRed = 1, ConGreen = 2, ConBlue = 4
char *title = "WinCon exp.";
SetTextColor(ConRed | ConGreen | ConBlue);
char *write = "Hello World!";
WriteConsole(m_Screen, write, strlen(write), &Written, NULL);
*scratches head*..I'm kind of new to all of this stuff, just so you guys know.. starting out on windows.h stuff today.