To all reading this : It is important !!!!!
I am getting an error while reading structures from files: -
I am always getting errors while reading this structure
Output I get :
Instead of Shreaves Malfoy I get hreaves Malfoy. And Sometimes I get junk values. Is it because
I am using a large structure containing char strings of large size or is it because I am reading wrong from the files. However I am very sure that I am right in the way I deal with files. I use write and read functions of the fstream class
I am also facing similar problems with structure with just three members.
I have asked many people. Do you remember my White Pages telephone software I had made, I have problems with file handling. I have asked so many people but none have been able to come forward with a solution. I can even email you the code so that you can correct it. My email address is [email protected]
Why is that? Could you revert with a positive reply!
I am giving the structure declaration