because you are assigning the new page to a COPY of the pointer in the list.
I strongly advise that you not populate your list with invalid pointers. Instead, append to your list when you have a valid pointer to add.
because you are assigning the new page to a COPY of the pointer in the list.
I strongly advise that you not populate your list with invalid pointers. Instead, append to your list when you have a valid pointer to add.
If you have a problem, CUT and PASTE your code. Do not retype or simplify it. Give a COMPLETE and COMPILABLE example of your problem. Otherwise we are all guessing the problem from a fabrication where relevant details are often missing.
Bookmarks