home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!news.univie.ac.at!hp4at!his
- From: his@gese.ge14.mdadv.gv.at (Horst Hirnschall)
- Subject: Re: fwrite & fread
- Message-ID: <1992Nov20.090205@gese.ge14.mdadv.gv.at>
- Originator: his@gese0n.ge14.mdadv.gv.at
- Sender: usenet@hp4at.eunet.co.at (USENET - Admin account)
- Nntp-Posting-Host: gese.ge14.mdadv.gv.at
- Organization: MD-ADV, Vienna, Austria
- References: <92324.000622U17868@uicvm.uic.edu>
- Date: Fri, 20 Nov 1992 08:02:05 GMT
- Lines: 33
-
-
- In article <92324.000622U17868@uicvm.uic.edu>, <U17868@uicvm.uic.edu> writes:
-
- [junk deleted]
-
- |> Actually, it should have 194 bytes.
- |> typedef struct activity{
- |> int id;
- |> int mm;
- |> int dd;
- |> int yy;
- |> char day[10];
- |> int hour;
- |> int min;
- |> int end_hour;
- |> int end_min;
- |> char location[25];
- |> char with_who[20];
- |> char phone[11];
- |> char subj[30];
- |> char note[300];
- |> int flag;
- |> };
-
- [more junk deleted]
-
- How can you think a structure including a char-array with size 300 can have a size of 194 ?
- This structure actually HAS size bytes and you don't need to wonder.
-
- Sometimes I wonder why people not able to count further than three try
- to program in C.
-
- HIS Masters Voice.
-