Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: notesfiles Path: utzoo!linus!philabs!cmcl2!acf4!greenber From: greenber@acf4.UUCP Newsgroups: net.unix Subject: Re: C help wanted Message-ID: <12700012@acf4.UUCP> Date: Tue, 13-Nov-84 09:55:00 EST Article-I.D.: acf4.12700012 Posted: Tue Nov 13 09:55:00 1984 Date-Received: Thu, 15-Nov-84 01:57:00 EST References: <-193000@uiucdcsb.UUCP> Organization: New York University Lines: 13 Nf-ID: #R:uiucdcsb:19300024:acf4:12700012:000:631 Nf-From: acf4!greenber Nov 13 09:55:00 1984 <> Assuming that you need two or more different programs to access this data, remember to subtract/add the offset of the beginning of these structures BEFORE writing it out to disk and AFTER reading it in. This makes the data "position independent". Another way of doing it (involves more work during the run of the program, though) is to only have offsets to the data in question stored instead of pointers. That is offsets from some arbitrary data address that is at the begiining of your structure and also, again, this requires contiguous structures. Ross M. Greenberg @ NYU ----> allegra!cmcl2!acf4!greenber <----