Code:
#include <windows.h>
....
HANDLE handle = GetStdHandle(STD_OUTPUT_HANDLE);
SetConsoleTextAttribute(handle,BACKGROUND_RED);