How I can read line of a file with a whitespace, in the case that faddress was a string with space I will not able to read all the line.
What I can do ? I try using noskipws but it doesn't work
http://www.cplusplus.com/reference/ios/noskipws/
Code:
ifstream rFile;
rFile.open("list_of_people.txt");
 while(rFile  >> fname >> flastName >> ocupation>> faddress >> age){
            insert(fname,flastName,ocupation,faddress,age);
         }
File :
John Smith Engineer Av Roses 25
 
    