Mail Archives: djgpp/1997/08/17/02:16:38
| From: | Erik Max Francis <max AT alcyone DOT com>
|
| Newsgroups: | comp.os.msdos.djgpp
|
| Subject: | Re: Newbie Question : File Manipulations in C++
|
| Date: | Sat, 16 Aug 1997 17:39:31 -0700
|
| Organization: | Alcyone Systems
|
| Lines: | 16
|
| Message-ID: | <33F64843.520AF2A9@alcyone.com>
|
| References: | <33F1DB6A DOT 7ED4 AT singnet DOT com DOT sg>
|
| NNTP-Posting-Host: | newton.alcyone.com
|
| Mime-Version: | 1.0
|
| To: | djgpp AT delorie DOT com
|
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
TH wrote:
> How do I actually do file manipulations in C++ i.e. rename, delete
> files, etc. What are the header files to include? For C, it is dir.h.
> Is there an equivalent in C++?
dir.h is non-ANSI and thus is not portable. The ANSI library calls are
remove and rename, both in stdio.h.
--
Erik Max Francis, &tSftDotIotE / email / mailto:max AT alcyone DOT com
Alcyone Systems / web / http://www.alcyone.com/max/
San Jose, California, United States / icbm / 37 20 07 N 121 53 38 W
\
"Love is not love which alters / when it alteration finds."
/ William Shakespeare, _Sonnets_, 116
- Raw text -