I have a crash (program unexpectly exited) in my code. Trying to debug it with printf, I come to the line:
Code:
int tiempo_seguridad[12] = { 0, 25, 100, 100, 200, 200, 200, 300, 300, 300, 300, 300};
where it looks it is the problem.
If I put:
Code:
int tiempo_seguridad[12] = { 0, 25, 100, 100, 200, 200, 200, 300, 300, 300, 300, 300};
printf("Aqui\n");
the program crash and I dont see the printf
But if i write
Code:
printf("Aqui\n");
int tiempo_seguridad[12] = { 0, 25, 100, 100, 200, 200, 200, 300, 300, 300, 300, 300};
the program does not crash never!
how can I see where is my problem. I dont see any problem in that line.
thanks.