| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 18 Apr 1999 14:52:37 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Leandro <carloma AT bhnet DOT com DOT br> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Copy whit C++ |
| In-Reply-To: | <7f8m5j$fba@enews2.newsguy.com> |
| Message-ID: | <Pine.SUN.3.91.990418145224.22615v-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Fri, 16 Apr 1999, Leandro wrote: > cprogram prog1.tmp prog1.exe > It isn't displaying any errors, but the program can only copy ASCII files. > When I try to copy binary files, it isn't working!!! The file is copy > incomplete. Welcome to the wonderful world of distinction between text and binary files! You need to open binary files in binary mode. See section 9.3 of the DJGPP FAQ list (v2/faq211b.zip from the same place you get DJGPP) for more details about this.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |