Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 180
  • Last Modified:

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
0
Ultpak
Asked:
Ultpak
  • 3
1 Solution
 
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

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now