TIP: Click on subject to list as thread! ANSI
echo: public_domain
to: Paul Edwards
from: Alexander Watson Law
date: 1995-08-21 00:56:00
subject: genpmsg.c

>         fprintf(fq, "01 Jan 94  01:01:01");

ac> Are you sure you can use fprintf() on a binary file ("wb") ?

 PE> I can see no restriction in the ISO C standard on doing 
 PE> that, and I can see no reason that it would be any different 
 PE> from a sequence of individual fputc() calls.  BFN.  Paul.

Are you sure your chars are single byte in both?

...Alex.
(Pagan & Proud)

---
* Origin: Elfwhere - the POINty eared POINt (3:640/450.2379)
SEEN-BY: 640/305 306 450 458 690/718 711/809 934 30163/9
@PATH: 640/450 305 711/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™.