How can I extract data (contents) from istream without using operator>>() ?.
51 Answer
If you want to read characters from the istream, then by using get and getline:
For general reading you may want to use read:
How can I extract data (contents) from istream without using operator>>() ?.
5If you want to read characters from the istream, then by using get and getline:
For general reading you may want to use read: