I would like to know how to save a variable in a separate file so that the information can be retrieved when the program is shut down... Please give me a hand if you can...
This is a discussion on Can I save a variable in a new file? within the C++ Programming forums, part of the General Programming Boards category; I would like to know how to save a variable in a separate file so that the information can be ...
I would like to know how to save a variable in a separate file so that the information can be retrieved when the program is shut down... Please give me a hand if you can...
check out fstream (located in fstream.h). I'm sorry, but I haven't learned the exact syntax. I'm still using file pointers (good ol' C)![]()
MagosX.com
Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime.