home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!uunet.ca!geac!lethe!druid!darcy
- From: darcy@druid.uucp (D'Arcy J.M. Cain)
- Subject: Re: fwrite & fread
- Message-ID: <1992Nov23.125827.639@druid.uucp>
- Date: Mon, 23 Nov 1992 12:58:27 GMT
- References: <92324.000622U17868@uicvm.uic.edu>
- Organization: D'Arcy Cain Consulting
- Lines: 15
-
- <U17868@uicvm.uic.edu> writes:
- >I am using write & fread to read and write to a file. The structure that I
- >am writing has 194 bytes. After executing fwrite I check the value, in vari
- > [...]
- >typedef struct activity{
- > [...]
- > char note[300];
-
- How can a structure with this entry in it be only 194 bytes?
-
- --
- D'Arcy J.M. Cain (darcy@druid.com) |
- D'Arcy Cain Consulting | There's no government
- Toronto, Ontario, Canada | like no government!
- +1 416 424 2871 DoD#0082 |
-