How to implement own function to read int?

Revision en1, by Qualified, 2020-10-06 00:07:46

I very much like $$$cin » $$$ but want to have this fast reading integers function. How to do it? For example, I want to input multiple integers in this $$$cin » a » b » c;$$$ but the reading of integers is using the comment above.

Tags help, fast input, overloading, oistream

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Qualified 2020-10-06 00:18:45 758
en1 English Qualified 2020-10-06 00:07:46 327 Initial revision (published)