How can I extract data (contents) from istream without using operator>>() ?.
1 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>>() ?.
If you want to read characters from the istream, then by using get and getline:
For general reading you may want to use read: