Yeah, I just want know this program how to modified. The key not about alist == NULL or alist == 0 it is how to modified make this program can running.
________________________________ From: peternilsson42 <[email protected]> To: [email protected] Sent: Thursday, June 11, 2009 1:59:17 PM Subject: [c-prog] Re: template class of array. --- In c-p...@yahoogroups. com, WLJiang WLJiang <iamwljiang@ ...> wrote: > > Well, #include <stdio.h> haven't any effect,it can delete, > and this Statement if(alist == NULL) not have anyquestion. > Because in head file already define NULL > > But you does not make clear how to modified. Don't use NULL in C++. Use plain 0 as a null pointer constant... if (alist == 0) ... -- Peter [Non-text portions of this message have been removed]
