prog.cpp: In function ‘int main()’:
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
"Septiembre", "Octubre", "Noviembre", "Diciembre"};
^
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:8:56: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
prog.cpp:10:4: error: ‘cout’ was not declared in this scope
cout << "Tamaño de Mes: " << sizeof(Mes) << endl;
^
prog.cpp:10:49: error: ‘endl’ was not declared in this scope
cout << "Tamaño de Mes: " << sizeof(Mes) << endl;
^
prog.cpp:13:13: error: ‘amp’ was not declared in this scope
<< &Mes2[11][10]-Mes2[0] << endl;
^
prog.cpp:13:36: error: invalid operands of types ‘char’ and ‘char*’ to binary ‘operator-’
<< &Mes2[11][10]-Mes2[0] << endl;
^
prog.cpp:15:49: error: invalid operands of types ‘char’ and ‘char*’ to binary ‘operator-’
<< sizeof(Mes2)+&Mes2[11][10]-Mes2[0] << endl;
^