943,548 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Marked Solved
  • Views: 512
  • C++ RSS
Oct 16th, 2008
0

deleting a file

Expand 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
Similar Threads
Reputation Points: 10
Solved Threads: 2
Junior Poster in Training
Nemoticchigga is offline Offline
98 posts
since Feb 2008
Oct 16th, 2008
0

Re: deleting a file

I am not sure if you could meen something like this if you know the path where the bitmap is... Hope it helps

C++ Syntax (Toggle Plain Text)
  1. System::IO::File::Delete("C:\\TempImage2.bmp");


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
Reputation Points: 33
Solved Threads: 6
Junior Poster
Liszt is offline Offline
122 posts
since Oct 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: using _tcscpy_s
Next Thread in C++ Forum Timeline: more counting :(





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC