#include
#include
using namespace std;
int main(int argc, char *argv[]){
char ch;
ifstream in("test.txt", ios::in | ios::binary);
if(!in){
cout << "Cannot open file.";
return 1;
}
while(in){
in.get(ch);
cout << ch;
}
}