|
|
От: |
Alex Dav
|
|
| Дата: | 29.05.07 09:52 | ||
| Оценка: | |||
ifstream* inFile = new ifstream();
inFile->open("C:\\01.rr",ios::in|ios::binary);
if(!inFile->is_open())
cout << "Error";
else
{
bitset<8> bite;
for (int j = 0; j < 100000; ++j)
{
*inFile >> bite;
for(int i = 0; i <= 7; ++i)
cout << bite[i];
cout << endl;
}
}