Every time I compile my code from this lecture I get these two error messages:
Error c2338
Error c4840
Here are screen shots of all the code that was changed in the lecture:
I am a complete beginner on everything in this course so I have know clue how to fix it. Any help would be much appreciated.