HI,
i have created a struct with x strings in it
x - is a user choice int.
now what im trying to do is writing 10 structs of this kind into a file, and opening it again later and read them from the file.
a simple fwrite(&struct,sizeof(struct),1,file) wont work since the size varies..
what can i do?
thanks



LinkBack URL
About LinkBacks




