Re: Using the free(*ptr) routine and getting an exception, "Exception: STATUS_ACCESS_VIOLATION"
This post was updated on .
Whoops. I was making the pointer point to x instead of putting x's value in the memory that was just allocated. Now i understand that. Really sorry for a stupid syntax error question on my part. thanks for the quick reply though :). Like I said basically new to C.