Advertisement

05.13.2003 at 03:46AM PDT, ID: 20614596
[x]
Attachment Details

delete file

Asked by Gesus in C Programming Language

Tags: file, c, fopen, delete

i've opened and writing to the file OUTFILE

FILE *outfile = fopen("outfile.txt","r");

but i'd like to delete it.  whats the code to delete a file from C?

thanksStart Free Trial
[+][-]05.13.2003 at 03:52AM PDT, ID: 8515578

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: C Programming Language
Tags: file, c, fopen, delete
Sign Up Now!
Solution Provided By: sunnycoder
Participating Experts: 2
Solution Grade: A
 
 
[+][-]05.13.2003 at 03:59AM PDT, ID: 8515602

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.13.2003 at 04:12AM PDT, ID: 8515649

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.20.2003 at 12:30AM PDT, ID: 8548874

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32