Something
public cpp v1 · immutable#include <stdio.h>#include <iostream>using namespace std;class Cmap{ public: int m[10][10]; Cmap(int i=0){ for(int o=0;o<10;o++) for(int u=0;u<10;u++) this->m[o][u]=0; };};typedef class Cmap Cmap;ostream& operator << (ostream& os, const Cmap& m){ for(int o=0;o<10;o++){ for(int u=0;u<10;u++) os << m.m[o][u]; os << endl; } return os;}int main (void){ FILE *sf,*vf; sf=fopen("laev.sis","r"); vf=fopen("laev.val","w"); int i, j; Cmap a; cout << a; fclose(sf); fclose(vf);}