Re: read/write nodes


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]

Posted by hussein on August 09, 1999 at 22:33:36:

In Reply to: read/write nodes posted by MtBiker on August 09, 1999 at 22:20:10:

: I THINKING right now that I am having problems with
: reading and writing nodes to/from a file. In p3, I
: made sizeof(Node) variable to save space (strlen(s+1)
: but that won't work now. So, I changed

: char *data to
: char data[255]

: this should let sizeof(Node) evaluate to the same thing
: for every node then right?

correct... though 255 may be a bit excessive for most purposes ...

---

hussein


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS2604 Discussion WWWBoard ] [ FAQ ]