I have used member variables and operated on them with the help of member functions. Bu in one of the examples in C++ Primmer i found something like this:
How is it possible to read the object and output that after processing without using '.' operator and any member variable/function? I tried looking into the header "Sales_item.h" but didn't understand that.Code:Sales_item book; \\book is an object of class Sales_item cin>>book; cout<<book;