How can I use overloaded >> operator to get multiple different type of inputs from 5 user and assign them to the class members? Also i need to print them all using overloaded << operator so how do i do that?
Asked
Active
Viewed 100 times
0
-
Does this answer your question? [C++ Input Operator Overloading](https://stackoverflow.com/questions/14358307/c-input-operator-overloading) – Nov 18 '21 at 09:34
-
This may also help https://en.cppreference.com/w/cpp/language/operators – anastaciu Nov 18 '21 at 09:37
-
2Maybe you should [edit] and show an simple example. – Jabberwocky Nov 18 '21 at 09:48