I have a file info.txt like below
NAME ID=karan PLACE=Mumbai AGE=23-
PHONE=1234 HANDICAP=No-
OCCUPATION=Student
NAME ID=Ravi PLACE=Goa AGE=25-
PHONE=4567 HANDICAP=Yes-
OCCUPATION=Employee
I want to read the file with make them into record strings as below
"NAME ID=karan PLACE=Mumbai AGE=23 PHONE=1234 HANDICAP=No OCCUPATION=Student"
"NAME ID=Ravi PLACE=Goa AGE=25 PHONE=4567 HANDICAP=Yes OCCUPATION=Employee"
Please suggest how to write a program in C++?
Thanks in advance.