🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs.200
Article #174

Re: Implementing Generic SLL node structure (wrt 9/10/98 lecture)

#174
From: Michael Szczepaniak
Date: Wed, 16 Sep 1998 00:00
25 lines
1489 bytes
Thanks!  That was VERY helpful!

Michael

gennady gurov wrote:

> 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: <360078BD.B438C3AA@earthlink.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <35FF2F3D.D4B1A777@earthlink.net> <6tncks$dd3@beethoven.cs.colostate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 127144,62fe57048fa7125a
X-Google-Attributes: gid127144,public
From: Michael Szczepaniak <mszczepaniak@earthlink.net>
Subject: Re: Implementing Generic SLL node structure (wrt 9/10/98 lecture)
Date: 1998/09/16
Message-ID: <360078BD.B438C3AA@earthlink.net>
X-Deja-AN: 391918669
Content-Transfer-Encoding: 7bit
References: <35FF2F3D.D4B1A777@earthlink.net> <6tncks$dd3@beethoven.cs.colostate.edu>
X-Posted-Path-Was: not-for-mail
Content-Type: text/plain; charset=us-ascii
X-ELN-Date: Wed Sep 16 19:44:49 1998
Organization: Eclectic systems
Mime-Version: 1.0
Reply-To: mszczepaniak@earthlink.net
Newsgroups: csu.cs.200