Hello,
I'm having a bit of trouble while reading from a file.
What I've actually done is created three classes a class one a class Date and a class two. class one is the parent class of class two and class Date is a member of class one.
Now the problem is when I read it from the file first time it displays all the content good and nice but when I carry on it does not take data of Date class, instead show me a garbage value, while all the other data is still good.