I'm used to program in Python, and since in Python, all are objects, it is totally acceptable when at the end of a variable, a .
operator is used to access the method
of a class
. But in C++, let say for something like std::cin.getline()
, is this some kind of accessing the member function of cin
?
Is cin
some kind of a class
or a struct
?