Color.cpp
int GetCurrentColor(HANDLE cHandle) {
	if (cHandle == NULL) throw new exception("Console handle is null.");
	CONSOLE_SCREEN_BUFFER_INFO info;
	GetConsoleScreenBufferInfo(cHandle, &info);
	return info.wAttributes;
}
// gets the current color (screen buffer info/text attribute)
gets the current color (screen buffer info/text attribute)
gets the current color ( screen buffer info / text attribute )
int GetCurrentColor(HANDLE cHandle) {
	if (cHandle == NULL) throw new exception("Console handle is null.");
	CONSOLE_SCREEN_BUFFER_INFO info;
	GetConsoleScreenBufferInfo(cHandle, &info);
	return info.wAttributes;
}
int GetCurrentColor ( HANDLE cHandle ) { if ( cHandle == NULL ) throw new exception ( " " ) ; CONSOLE_SCREEN_BUFFER_INFO info ; GetConsoleScreenBufferInfo ( cHandle , & info ) ; return info . wAttributes ; }
gets the current color (screen buffer info/text attribute)
gets the current color ( screen buffer info / text attribute )