Zyrenthian
Programmer
Hi all,
Is there any way to simulate the getline(char*,int) function found in ifstream in CFile. I have tried including <fstream> but have no luck as I get multiple redefintions. When I declare
ifstream inFile(argv[1]);
It gives me problems with basic_ifstream. All I need to do is process a text file one line at a time and if the keyword search was working I could probabally find it. I am sorry if this is a repeat question.
Matt
Is there any way to simulate the getline(char*,int) function found in ifstream in CFile. I have tried including <fstream> but have no luck as I get multiple redefintions. When I declare
ifstream inFile(argv[1]);
It gives me problems with basic_ifstream. All I need to do is process a text file one line at a time and if the keyword search was working I could probabally find it. I am sorry if this is a repeat question.
Matt