C++ Error

Hello @GavinCutter and welcome!

Check this out, it might be a simple solution to your issue!