🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs.200
Article #106

Re: Main4.C ? (No, it's correct...)

#106
From: cassic
Date: Thu, 08 Oct 1998 00:00
27 lines
1663 bytes
I haven't emailed the profs, but I don't think we really need to - the
Read_Load_List function isn't a member function of the class.  It's a function
defined by the user of the ADT (so you need to call it by passing the object).

You COULD make the function a member, but it probably doesn't make sense (it's
getting pretty specific for an ADT).

Chris

> Good question?  Have you e-mailed Van or Chuck about it?  If not, I
> think we should.  If so, please post the reply.
>
> jason crawford wrote:
> >
> >  If Main4.C is supposed to be implemented with classes
> >  why are the function calls require the List be passed in?
> >       example:
> >               Read_Load_List(List_age,data2a)
> >
> >  Shouldn't Read_Load_List be a function of List_age?
> >       example:
> >               List_Age.Read_Load_List(data2a)
>


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum
Technical Details
Message-ID: <6vj3rl$k5u$1@nnrp1.dejanews.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <6v6ubq$a0ie@yuma.ACNS.ColoState.EDU> <361798C1.61825AA4@holly.colostate.edu>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 127144,2efe577ac8e70f92
X-Google-Attributes: gid127144,public
From: cassic@my-dejanews.com
Subject: Re: Main4.C ? (No, it's correct...)
Date: 1998/10/08
Message-ID: <6vj3rl$k5u$1@nnrp1.dejanews.com>
X-Deja-AN: 399083049
References: <6v6ubq$a0ie@yuma.ACNS.ColoState.EDU> <361798C1.61825AA4@holly.colostate.edu>
X-Http-Proxy: 1.0 x13.dejanews.com:80 (Squid/1.1.22) for client 207.168.232.17
Organization: Deja News - The Leader in Internet Discussion
X-Article-Creation-Date: Thu Oct 08 19:21:33 1998 GMT
Newsgroups: csu.cs.200
X-Http-User-Agent: Mozilla/4.05 [en] (X11; I; SunOS 5.5.1 sun4u)