file input with characters
#include <fstream> #include <iostream> using namespace std; int main(){ ifstream infile("Test.Txt"); cout << infile.rdbuf(); cout << endl; return 0; }