How to create your own insertions in c ?

Total Post:101

Points:709

 1397  View(s)
Ratings:
Rate this:
Hi,

How to create your own insertions in c++?

Thanks in advance. 
  1. Re: How to create your own insertions in c ?

    Hi,


    try this:

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

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

Answer

Please check, If you want to make this post sponsored

You are not a Sponsored Member. Click Here to Subscribe the Membership.