C++ keyword: delete note
Oops, today, I am programing in C++. Then, I found some attentions about delete. for Array, if we use delete not delete [] , it will arise a logic fault.
So if you apply a single value space using new , you can use delete to release it. However, if you apply a array space, you should not do this. You should use delete [] to release it. And there is unmeaning to use delete [] to release single object.
C++ is nice language. Yeah...............
I'm just lazy to install Chinese input method.