Could someone please tell me how to fix this? I don’t even know what this means or what I’ve done wrong.
It still gave me the error messages when I got rid of the overlapping inclusions, but only in “main.cpp”
Could someone please tell me how to fix this? I don’t even know what this means or what I’ve done wrong.
It still gave me the error messages when I got rid of the overlapping inclusions, but only in “main.cpp”
Please post the text your code and the error, not pictures of your code. Even better put your code into blocks that start and end with 3 backticks to make it easier to help you.
Send the zipped code; it’s much easier to debug.
You need to declare bool autonPage in a cpp then put extern bool autonPage in the header file.
Sorry for the late response, but I did manage to figure out a solution by declaring the variable as an extern.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.