I'm trying to get someone to pick from a list of classes, and have that class saved to a file, but I can't get it to work with more then one case. I keep getting error c3867. Here's the part that I know is giving me the error:
It would help tremendously if you told us what that error was. Most people don't memorize error numbers, and error numbers can vary depending on your platform/compiler.
Also telling us specifically what line the error is occuring on would help.
Anyway the thing that jumps out at me is that you're doing myfile.close instead of myfile.close();. Remember you need to have the parenthesis to call a function.