is there anything specific we need to do to delete a dynamically allocated char array.
i'm using the below code, and it is providing my asert errors.
it works in the same program for an integer array.Code:delete [] messagePtr1; messagePtr1=NULL; delete [] messagePtr2; messagePtr2=NULL; delete [] messagePtr3; messagePtr3=NULL;
please someone, if you know of an error in my syntax please tell.



LinkBack URL
About LinkBacks


