i created two structure arrays in my program, one is working well, but the other one is being stupid :-(
here's what's happening, i created 2 structure arrays:
at first i only had Medico listaMedico; in my program and everything worked :-)Code:Paciente listaPaciente; Medico listaMedico;
but since i created Paciente listaPaciente; every time i try and run the program it crashes :-(
but the weird thing is, when i change the listaPaciente; array size to, for example, listaPaciente; the program runs nicely :-S
Can any one tell me why is this happening?