fscanf(InputFil e, "%s %d %d", NewVertex->CarId, NewVertex->x, NewVertex->y);
[/CODE]
The *scanf family of functions need an address to store their scanned and converted
values to, so if your expressions result in an char*, int* and an int* everything is fine.
What is the type of 'NewVertex->x'? If it is an int* you're fine; otherwise you'd
better pass the address of that variable to your *scanf() function. The same
reasoning applies to your NewVertex->y variable.
Comment