how to write a class object in c++ into a file
<p>please tell us how to  write a object of a class into a file</p>

<p>after writing if a value of a data member changes, then how can be it updated in the file without causing duplicate entry</p>

<p>while writing to a file, when a data member is uninitialized at the moment of writing, will it cause any problem</p>

<p>how does file work while dealing with class object exactly</p>
