|
-
November 22nd, 2010, 05:49 AM
#1
[RESOLVED] string as stream
Hello!
I'm solving one problem related to parsing of text files. It would be very convenient for me to read ifstream line by line at first, treat every line as string (preferably c++ string), then convert that string to istream and read from the istream.
So:
Is there an easy way to convert std::string into std::istream?
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
|