deleting a file

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Feb 2008
Posts: 98
Reputation: Nemoticchigga is an unknown quantity at this point 
Solved Threads: 2
Nemoticchigga Nemoticchigga is offline Offline
Junior Poster in Training

deleting a file

 
0
  #1
Oct 16th, 2008
I want to delete a bitmap. How do I do this in c++.

DestBitmap->Save("TempImage2.bmp");
.
.
.
.
.
//later something like
Delete("TempImage2.bmp");

is there a way to do this.

thanks,
nemo
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 122
Reputation: Liszt is an unknown quantity at this point 
Solved Threads: 6
Liszt Liszt is offline Offline
Junior Poster

Re: deleting a file

 
0
  #2
Oct 16th, 2008
I am not sure if you could meen something like this if you know the path where the bitmap is... Hope it helps

  1. System::IO::File::Delete("C:\\TempImage2.bmp");


Originally Posted by Nemoticchigga View Post
I want to delete a bitmap. How do I do this in c++.

DestBitmap->Save("TempImage2.bmp");
.
.
.
.
.
//later something like
Delete("TempImage2.bmp");

is there a way to do this.

thanks,
nemo
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C++ Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC