std::istream is the data type for an input stream. std::cin (used for, among others reading file and keyboard input) is a global std::istream.
std::istream is the data type for an input stream. std::cin (used for, among others reading file and keyboard input) is a global std::istream.