error C2039: ‘string’ : is not a member of ‘std’, header file problem
You need to have in the header file too.The forward declaration on it’s own doesn’t do enough. Also strongly consider header guards for your header files to avoid possible future problems as your project grows. So at the top do something like: This will prevent the header file from being #included multiple times, if you … Read more