Read Text File line be line....
-
Hi, I want to read Text File line by line and code follows;(with out using the << operator and char buffer) ifstream Textfile; Textfile.open(strFilePath,ios::in); string value; while(!Textfile.eof()) { getline(Textfile,value); } Textfile.close(); When i am compiling the above code it throws the error as error C3861: 'getline': identifier not found, even with argument-dependent lookup How to rectify this error.. Any other sample Code?? reg, Subbu
-
Hi, I want to read Text File line by line and code follows;(with out using the << operator and char buffer) ifstream Textfile; Textfile.open(strFilePath,ios::in); string value; while(!Textfile.eof()) { getline(Textfile,value); } Textfile.close(); When i am compiling the above code it throws the error as error C3861: 'getline': identifier not found, even with argument-dependent lookup How to rectify this error.. Any other sample Code?? reg, Subbu
-
Hi, I want to read Text File line by line and code follows;(with out using the << operator and char buffer) ifstream Textfile; Textfile.open(strFilePath,ios::in); string value; while(!Textfile.eof()) { getline(Textfile,value); } Textfile.close(); When i am compiling the above code it throws the error as error C3861: 'getline': identifier not found, even with argument-dependent lookup How to rectify this error.. Any other sample Code?? reg, Subbu