i have quick question (i think quick). I have to check if pointer is NULL after delete data pointed by pointer. In my case i have data stored in fl->first and i want to clear this data. After clear by delete fl->first i have to check if fl->first pointer is NULL. I read a lot of posts that
delete fl->first;
fl->first = NULL;
is not good idea. And is there better way or in this case it is okey?