PDA

View Full Version : delete (OT and stupid)



JanHH
08-09-2003, 07:55 AM
this might be a very stupid question, but I am simply not sure about it..

when there is a

char* myChar = new char[length];

do I have to "delete" or "delete []" it?

Jan

Simi
08-09-2003, 08:01 AM
delete[]