how to delete a buffer

hi alll
i am working in VC++.
i create a buffer like it
char * buff = new char[1000];
now i worked with it.
can any one tell me how to delete it to release the memory.
thankx
UltpakAsked:
Who is Participating?
 
jhanceCommented:
delete [] buff;
0
 
UltpakAuthor Commented:
ya i did it.
but the application crashes, while running in release mode.
0
 
jhanceCommented:
I'm sorry to hear that.  But that was not your question.
0
 
MoondancerCommented:
I have updated all your remaining open questions, please finalize them.

Moondancer - EE Moderator
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.