Solved

how to delete a buffer

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

758 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now