color()??
What compiler are you using? If it''s a Windows compiler such as MSVC, you''ll need to use SetConsoleTextAttribute(). You would use it like so:
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED);
ReactOS - an Open-source OS compatible with Windows NT apps and drivers
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), FOREGROUND_RED);
ReactOS - an Open-source OS compatible with Windows NT apps and drivers
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement