Please see here for details on cout: Standard output stream. Whilst in this page, please click and see the link that says "ostream::operator<<"
Likewise see here for details on cin: Standard input stream. Whilst here, please click and see the link that says "operator (>>)"