#include #include #include using namespace std; int main() { ifstream fi; fi.open("mystery.dat", ios::in | ios::binary); for (int r = 0; r < 600; r += 1) { short int d[600]; fi.read((char *) d, sizeof(d)); for (int c = 0; c < 600; c += 4) if (d[c] == -500) cout << "@"; else cout << "."; cout << "\n"; } fi.close(); }