How to create your own extractors in c ?

Total Post:183

Points:1285
 1406  View(s)
Ratings:
Rate this:
Hi Expert,

How to create your own extractors in c++?

Thanks in advance. 
  1. Post:604

    Points:4228
    Re: How to create your own extractors in c ?

    try this,

    ostream &operator >>(ostream &stream,class-name on)
    {
      //body of inserter
    return stream;
    }

      Modified On Mar-30-2018 03:52:28 AM

Answer