I'm having some problems using the fstream.h header file to save a person's game in my text casino game. We've used examples from various books, but they never seem to work in the main source for the game. It's giving me 2 errors. Here they are.
error C2065: 'fout' : undeclared identifier
warning C4552: '<<' : operator has no effect; expected operator with side-effect
I'm also using the iostream header file. I think I've heard about some conflicts caused by it, but I'm not sure if they are real are just made up.
Anyways, thanks to anybody for any help.
-Chris



LinkBack URL
About LinkBacks



