Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок+ 1
Istream operator-overloading >>
is it possible to read from a file using operator-overloading (istream &operator >>) ??
1 ответ
+ 3
refer thislink it may help you
http://www.geeksforgeeks.org/overloading-stream-insertion-operators-c/