I'm doing a school project and I got everything working exept this.
I keep getting 'Expected initializer before void' but I've checked it probably 50 times and I don't see how's that wrong.
1 2 3 4 5 6 7 8
#include "Hora.h"
#include <stdio.h>
void CargaHora(Hora &hor){
printf("Ingresar la hora\n");
scanf("%d",&hor.Hora);
printf("Ingresar los minutos\n");
scanf("%d",&hor.Minutos );}