I want to alternate two SetConsoleTextAttribute() in a switch() statement.
So i declared and assigned it outside main() as global and i want to switch between them like this bArg1 != bArg2;
If i assign it to a bool ( can i? ) how should i call it then in the program?
Like that? bArg1;
Thanks in advance!Code:bool bArg1= SetConsoleTextAttribute ( h, BACKGROUND_GREEN);