I have been in my triplex.cpp file for about 20 minutes in VS Code, making updates, saving and compiling successfully. I started the next lesson and migrated my code to a new PlayGame function and started receiving this compile error:
LINK : fatal error LNK1104: cannot open file ‘triplex.exe’
To resolve, I closed VS Code, opened the exe file and closed it. This worked but I have no idea why. Starting this chain to help anyone having issues with this error as I could not find a consistent answer.