a little off topic but i would be willing to pay money if someone can tell me how to clean up the function "LoadFromFile", from the VCL library.
This is a discussion on do you have to delete the programs within the C++ Programming forums, part of the General Programming Boards category; a little off topic but i would be willing to pay money if someone can tell me how to clean ...
a little off topic but i would be willing to pay money if someone can tell me how to clean up the function "LoadFromFile", from the VCL library.
Too far off topic - mr hijacker
do you have to delete the programs
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I support http://www.ukip.org/ as the first necessary step to a free Europe.
Anyway, like anything else, you just delete the pointer you called the function on.Code:Graphics::TBitmap *bitmap1; bitmap1 = new Graphics::TBitmap; bitmap1->LoadFromFile("C:\\BcbFoundResources\\Bitmaps\\Titles.bmp"); delete bitmap1;
Sent from my iPadŽ