I get a runtime error when I debug my program. The error is: unhandled exception myprogram.exe 0x0000005: Access Violation. I use VS 6.0 and windows xp. Here is the line when I get the error:
Code:
lintren.dades_parades = (parada*)malloc(sizeof(parada)*lintren.n_parades);