There is text file containing number of records. I have to read from the file using the concept of class and objects in cpp. I want to create 1 object for each record. similarly I want to write into the file.
For example the text file contains
ritu|23|165|ase|yuh|iok|iuy
chandan|34|56|gt|tfg|fgg|tgh
There is text file containing number of records. I have to read from the file using the concept of class and objects in cpp. I want to create 1 object for each record. similarly I want to write into the file.
For example the text file contains
ritu|23|165|ase|yuh|iok|iuy
chandan|34|56|gt|tfg|fgg|tgh
i dont know the code how to write......please tell in the entire code which give me the perfect output...
ritu|23|165|ase|yuh|iok|iuy
chandan|34|56|gt|tfg|fgg|tgh