Solved

how to delete a buffer

Posted on 2002-05-09
5
174 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Decoding 32 bit binary streams 6 42
Doc'in system (example?) BA 7 111
centeredAverage challenge 8 165
Annoying "thing" blocks my view 4 100
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Ownerdraw of the grid button.  A singleton class implentation and usage. Continuing from the fifth article about sudoku.   Open the project in visual studio. Go to the class view – CGridButton should be visible as a class.  R…
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.
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

777 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