Graphics-Library
Graphics-Library copied to clipboard
Code fails in CodeBlocks
When I compile a .cpp file successfully with the correct compiler options and the given linked files, when running the executable I receive the error message: Drawing operation was attempted when there was no current window.
I'm on Windows 10, so maybe that is the issue.
Tip: Instead of clicking Run
after changing a file, click Build & Run
see if that fixes the issue