Article View: csu.cs.200
Article #170Re: Implementing Generic SLL node structure (wrt 9/10/98 lecture)
From: gennady gurov
Date: Tue, 15 Sep 1998 00:00
Date: Tue, 15 Sep 1998 00:00
19 lines
1275 bytes
1275 bytes
Michael Szczepaniak <mszczepaniak@earthlink.net> wrote:
: I'm trying to create my own SLL toolkit using the generic node structure
: discussed at the end of the 9/10/98 lecture. For example, lets call the
: header file with the tool/procedures to create and manipulate SLL's
: SLL.h (like in the class notes). In SLL.h we have:
<snip>
.
.
.
: My question is: One of my procedures in SLL.h is SearchNode which finds
: the first node that has a name that matches an input target. How do I
: reference the name field? SLLnode->name generates errors from SLL.h
this ^^^^^^^^^^^^^ is going to have to be SLLnode->data.name
hope this helps
-Gennady
Technical Details
Message-ID:
<6tncks$dd3@beethoven.cs.colostate.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<35FF2F3D.D4B1A777@earthlink.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 127144,62fe57048fa7125a X-Google-Attributes: gid127144,public From: gennady gurov <gurov@cs.colostate.edu> Subject: Re: Implementing Generic SLL node structure (wrt 9/10/98 lecture) Date: 1998/09/15 Message-ID: <6tncks$dd3@beethoven.cs.colostate.edu> X-Deja-AN: 391586348 Sender: gurov@beethoven.cs.colostate.edu References: <35FF2F3D.D4B1A777@earthlink.net> Organization: Computer Science Department, Colorado State University User-Agent: tin/pre-1.4-980226 (UNIX) (SunOS/5.6 (sun4c)) Newsgroups: csu.cs.200