Search Results

Showing results 1 to 1 of 1
Search took 0.01 seconds.
Search: Posts Made By: daviddoria
Forum: C++ Feb 24th, 2009
Replies: 2
Views: 1,138
Posted By daviddoria
Why not try the easy way to read files?


ifstream fin(Filename.c_str());

if(fin == NULL)
cout << "Cannot open file." << endl;

vector<string> Lines;
string line;
Showing results 1 to 1 of 1

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC