Solved

how to delete a buffer

Posted on 2002-05-09
5
177 Views
Last Modified: 2013-11-20
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
Comment
Question by:Ultpak
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 50 total points
ID: 6999324
delete [] buff;
0
 

Author Comment

by:Ultpak
ID: 6999358
ya i did it.
but the application crashes, while running in release mode.
0
 
LVL 32

Expert Comment

by:jhance
ID: 6999418
I'm sorry to hear that.  But that was not your question.
0
 
LVL 32

Expert Comment

by:jhance
ID: 6999449
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7008964
I have updated all your remaining open questions, please finalize them.

Moondancer - EE Moderator
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question