Z
The compiler gives clear and concise messages about which errors are, I have used gcc and warn me of the following:error: use of undeclared identifier '_edad'; did you mean 'edad'?
Estudiante::Estudiante(string _nombre, string _ciudad, int edad,string _codigoAlumno, float _notafinal):Persona(_nombre, _ciudad, _edad){
^~~~~
no matching constructor for initialization of 'Estudiante'
Estudiante estudiante1(nombre11,edad11,ciudad11,codigoAlumno11,notaFinal11);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
note: candidate constructor not viable: no known conversion from 'int' to 'std::__cxx11::string' (aka 'basic_string<char>') for 2nd argument
Estudiante::Estudiante(string _nombre, string _ciudad, int edad,string _codigoAlumno, float _notafinal):Persona(_nombre, _ciudad, _edad){
^
If it's hard for you to understand, I translate the mistakes:error: uso de identificador no declarado '_edad'; ¿te referías a 'edad'?
Estudiante::Estudiante(string _nombre, string _ciudad, int edad,string _codigoAlumno, float _notafinal):Persona(_nombre, _ciudad, _edad){
^~~~~
no se encuentra un constructor para inizializar 'Estudiante'
Estudiante estudiante1(nombre11,edad11,ciudad11,codigoAlumno11,notaFinal11);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
nota: el constructor candidato no es viable: no se conoce una conversión desde 'int' a 'std::string' para el segundo argumento
Estudiante::Estudiante(string _nombre, string _ciudad, int edad,string _codigoAlumno, float _notafinal):Persona(_nombre, _ciudad, _edad){
^
To start, in //Constructor de la clase Hija the parameter is called edad But you use it as _edad by passing the parameters to the base class.To end, when you build estudiante in main, the second parameter should be a chain (the city) but you pass an integer.