So much for the edit but anyways I got this from anoutehr post that I needed help in. I needed to know hwo to save a game.
So I got this code...
int var1 = 20;
int var2 = 30;
test.objVar1 = 5;
test.objVar2 = 4.5283928334328;
std::ofstream file("filename.dat", std::ios::binary);
.dat files or what ever I am goign to try and use. I could have a "plug in" maker type thing that creates .dat files! All I need is a ton of variables (wich I am good at) and other stuff!