home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / lang / c / 17053 < prev    next >
Encoding:
Text File  |  1992-11-23  |  833 b   |  26 lines

  1. Newsgroups: comp.lang.c
  2. Path: sparky!uunet!uunet.ca!geac!lethe!druid!darcy
  3. From: darcy@druid.uucp (D'Arcy J.M. Cain)
  4. Subject: Re: fwrite & fread
  5. Message-ID: <1992Nov23.125827.639@druid.uucp>
  6. Date: Mon, 23 Nov 1992 12:58:27 GMT
  7. References: <92324.000622U17868@uicvm.uic.edu>
  8. Organization: D'Arcy Cain Consulting
  9. Lines: 15
  10.  
  11. <U17868@uicvm.uic.edu> writes:
  12. >I am using write & fread to read and write to a file. The structure that I
  13. >am writing has 194 bytes. After executing fwrite I check the value, in vari
  14. > [...]
  15. >typedef struct activity{
  16. >   [...]
  17. >    char note[300];
  18.  
  19. How can a structure with this entry in it be only 194 bytes?
  20.  
  21. -- 
  22. D'Arcy J.M. Cain (darcy@druid.com)  |
  23. D'Arcy Cain Consulting              |   There's no government
  24. Toronto, Ontario, Canada            |   like no government!
  25. +1 416 424 2871          DoD#0082   |
  26.