S
Steve Behman
I thought that the << operator would act to get a whole line from a ifstream
but it doesn't. It
Is there an overload of << for some stream type that reads a whole text line
from a file?
I have tried the << operator within ifstream but it doesn't seem to work
with it.
PS: I am fairly sure that getline will do the job with ifstreams but it
seems so "inelegant."
but it doesn't. It
Is there an overload of << for some stream type that reads a whole text line
from a file?
I have tried the << operator within ifstream but it doesn't seem to work
with it.
PS: I am fairly sure that getline will do the job with ifstreams but it
seems so "inelegant."
