file input with characters : ifstream « File « C++
- C++
- File
- ifstream
file input with characters
#include <fstream>
#include <iostream>
using namespace std;
int main(){
ifstream infile("Test.Txt");
cout << infile.rdbuf();
cout << endl;
return 0;
}
Related examples in the same category