cin
and cout
fstream
ifstream inFile; inFile.open("filname"); if (not inFile) { cout << "failed to open filename" << endl; } else { // operation to read in data on file. getline(line, inFile); while (inFile) { Process(line); getline(line, inFile); } inFile.close(); }
dos2unix
and unix2dos
od -c filename
will show you file contents.