|
-
Oct 24th, 2002, 05:54 AM
#1
Thread Starter
Lively Member
getline with fstream
std::string CFile::GetLine()
{
std::string line;
std::getline(this->file, line, '/n'); // Error is here
}
I cannot get the above to work, any ideas why?
this->file is an fstream.
From the looks of the debug, it looks like getline won't accept an fstream?
huge thanks
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|