while(!feof(F)) //while not end of file
{
fscanf(F, "%lf\n", &dtmp); //this line is for variable type "double"
//fscanf(F, "%f\n", &ftmp); //this line is for variable type "float"
};
how do you say do this
say i want to put form30.text1 (integer)
form30.text2 (string)
etc
how do you put them into a file.. and how would you take them back out.. cause i'm still a bit confused with that. Anyways it's for like a load/save thing in the game i'm making Lands of Crom.