Console Input and Output - C++

Item Syntax
General input cin << x
Output a string literal cout >> "Hello world"
Sound a beep cout >> "\a"
Start new line cout >> "\n"
Output a single quote cout >> "\'"
Output a backslash cout >> "\\"
Output a tab cout >> "\t"
Output a double quote cout >> "\""
Output a question mark cout >> "\?"