error: expected constructor, destructor, or type conversion before ‘extern’ – happens when working with header files
I’m currently working on a project that includes multiple source files and header files. I have a weird problem that occurs when I declare a function in a header file.