Hi everyone, thank you for your time, Im making a small program, but I cant seem to get arround this error. its proabably something silly im missing, but ive checked about 5 times and im still missing it...
Variable names are in spanish sorry, but i guess thats not really important
#ifndef GRUPO_H_INCLUDED
#define GRUPO_H_INCLUDED
#include "Periodoespecial.h"
class Grupo{
private:
int claveMat, numGrupo, idMaestro;
Periodo periodoAcademico;
public:
Grupo(int iClaveMat, int iNumGrupo, int iIdMaestro, Periodo pPeriodoAcademico)
{ // im getting the error on this line
claveMat=iClaveMat;
numGrupo=iNumGrupo;
idMaestro=iIdMaestro;
periodoAcademico =pPeriodoAcademico;
}
void setClaveMat(int iClaveMat){claveMat=iClaveMat;}
void setNumGrupo(int iNumGrupo){numGrupo=iNumGrupo;}
void setIdMaestro(int iIdMaestro){idMaestro=iIdMaestro;}
void setPeriodoAcademico(Periodo pPeriodoAcademico){periodoAcademico =pPeriodoAcademico;}
int getClaveMat(){return claveMat;}
int getNumGrupo(){return numGrupo;}
int getIdMaestro(){return idMaestro;}
Periodo getPeriodoAcademico(){return periodoAcademico;}
};
#endif // GRUPO_H_INCLUDED