🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs.200
Article #111

Program 4 initialize

#111
From: christopher brockmeier
Date: Fri, 09 Oct 1998 00:00
10 lines
1083 bytes
Help!  I don't understand how we are supposed to initilize the
lists when Main4.C simply calls list_name.LIST_AddAtEnd(data);If you cant set "used" to zero the list doesn't get initial-
ized, but how can you tell the status of the list?  If it is 
AddAtEnd of nothing that's what I get: nothing.  So I've trid
to check with an if statement if data[0] (my array) has a null
value for name, if it does I initialize it.  It doesn't 
compile this way.  Another thing is that LIST_Create and LIST_
Destroy are getting flagged for not returning values... I 
think my code is exactly as it is in the notes and book for
this.  If anyone can help please reply! kempf@cs.... 
Technical Details
Message-ID: <6vm3nr$bh3c@yuma.ACNS.ColoState.EDU>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 127144,f08ca94766d56012,start
X-Google-Attributes: gid127144,public
From: brockmei@glinka.cs.colostate.edu ( christopher brockmeier)
Subject: Program 4 initialize
Date: 1998/10/09
Message-ID: <6vm3nr$bh3c@yuma.ACNS.ColoState.EDU>
X-Deja-AN: 399517062
Organization: Colorado State University, Fort Collins, CO  80523
Newsgroups: csu.cs.200