| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Deleting a file |
>> I am curious if anyone out there knows how to delete a file >> in a program without using the system (); function > remove() >> P.S. the file is always in the current directory. > remove() accepts a full path or just a file name if that > resolves to the file you want to delete. Wildcard deletions > aren't supported. thanks a lot David, I'll look up delete and unlink I think is the other function I've been told about. > BTW, make friends with the indexes in your compiler > documentation. It makes essential reading. I looked for a function in there but could not find one, I figured it would of been in dir.h so I guessed that there was not one, I clean forgot to check stdio.h. Regards, Iain. --- FMail 0.96â* Origin: Point to Nowhere !!! (3:690/716.2) SEEN-BY: 50/99 54/54 99 620/243 622/405 623/630 640/820 690/122 245 254 500 SEEN-BY: 690/508 660 676 716 711/401 409 430 807 808 809 932 934 712/623 627 SEEN-BY: 713/888 714/906 800/1 @PATH: 690/716 508 660 711/409 54/54 99 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.