Hello, I am working on learning C++ so please forgive me if this is a silly error as I know very little currently. I am using GNU GCC on Linux and Code::Blocks. When I try to compile this file, I get the following error:
I have no idea what this error means (as far as I know, the syntax is correct), and it does not even appear to be in the code file but rather a .gch file which I would assume is an intermittent file that GNU GCC uses -- so I wouldn’t be causing any errors in it. This error is also very non-specific so I'm not sure where I need to look in my code to fix it.