Writing/reading structure to/from binary file in c?

The problem is that your structure is dynamic (due to the vector). This is always going to complicate things, because you are actually storing a char *. The vector is a complex data structure.

You can't just mask it as a char * and expect it to represent the elements. So you aren't even storing what you need. I would suggest you change the vector to something like int gradesNO_OF_SUBJECTS .

That should work fine.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions