G++ Compiler is OK. But you must compile with the library - MyLibrary.h It only works under Windows Platform.
It checks where is your mouse(x,y) then define the cursor in the console. When the VK_LBUTTON is true, it will print blank (" ") with colors.
Arrow left/right key: Switch colors Click(Press on) the mouse(left key): Draw
Double-Click F11 key, press the "cmd icon" on the left-up of the window. Press Alt-P, then press Alt-Q, finally click "OK" button.