how can I delete a file in c++

V

Victor Bazarov

BobR said:
Victor Bazarov wrote in message...

std::remove? Example?

Yes, 'std::remove'. Part of the Standard C library (and C++, by
inclusion). What example do you need? RTFM and write your own.

V
 
O

osmium

BobR said:
Google for "rm".

The *proper*, portable answer has already been given, use remove. Please
don't make suggestions for inferior ways to do things, especially when the
right way is right in front of you..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Staff online

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,071
Latest member
MetabolicSolutionsKeto

Latest Threads

Top