Save function not working
Is this legal becuase it does not work, the file is created according to the argument passed into the function ok but after closing it is blank, if i do it without the if statements it works fine.
void SolBoard::SaveGame(int myfile)
if(myfile == 0) //which file to write over.
if(myfile == 1)
if(myfile == 2)
for(countclick = 0; countclick < 49; countclick++)
Gamefile << moves_record[moves][countclick];
Gamefile<< " ";