I already told you: std::istream and std::ostream are not copyable, so trying to return objects of those types by value is wrong, as your compiler has noted.Originally Posted by vaibhavs17
I already told you: std::istream and std::ostream are not copyable, so trying to return objects of those types by value is wrong, as your compiler has noted.Originally Posted by vaibhavs17
Look up a C++ Reference and learn How To Ask Questions The Smart WayOriginally Posted by Bjarne Stroustrup (2000-10-14)