I'm using visual studio to write a c code.
This is the malloc code line i was told to use:
root = (Coor)malloc(sizeof(Coor));
It doesn't let me use it for the following error:
identifier not found
Can anyone tell me why it happens and how to fix it?
Thanks,
Please check if you have included <stdlib.h>
and <malloc.h>
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With