#include <iostream>
#include <fstream>

using namespace std;

int main()
{
	ifstream f;
	char c;
	char nazwa[256];
	cout << "Podaj nazwe pliku: ";
	cin >> nazwa;
	f.open(nazwa, ios::binary);
	while(f >> c)
	{
		cout << c;
	}
	f.close();
	cout << endl;
	return 0;
}



