Notes Oct 1 2014 Input and Output istream is the "parent" of all input streams ostream is the "parent" of all the output streams stream c++ views data as streaming past or through your program. we process our streams sequentially We can "read" data from our stream using extraction >> extraction will read as much data from the stream as it can until 1. The stream is exhausted 2. It encounters data that doesn't match the data type it's trying to read 3. It encounters whitespace, tab \t, space , or newline \n extraction skips whitespace for you. input files ifstream - the input stream for reading Input Files #include using std::ifstream; To open a file, we need to 1. declare our variable 2. open the file