Professional Documents
Culture Documents
====File.write((char*)&s,sizeof(s));====
====Copy Constructor====
When a file is created for the first time both modes work same
i.e, add records to the file.
For an existing file ios::out mode erases the previous records
and write from beginning whereas in ios::app mode appends more
records to the file without erasing data.