🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: csu.cs.200
Article #209

Assignment 5 Que Constr

#209
From: donald johnson
Date: Sun, 22 Mar 1998 00:00
23 lines
1198 bytes
I'm a bit confused about the need for constructors/destructors for
the Queue class.  I have a statically instantiated DLL as my only
variable.
I just put two inline 'structors...
     Queue () {};  
     ~Queue () {};  

The dynamic deallocation should be taken care of in the DLL 
destructor, and I don't have any variables to initialize, 
so am I right to just put empty ones (as above), or should I 
omit them all together?  The assignment seems to indicate that 
I need some.  I'm not missing something am I?  
Could one of you hard working GTA's humor me with an answer soon?

...Wayne

-- 

Wayne Johnson         : )
     O O         
      o       Life gets serious enough, 
    \___/   so lighten it up with a Smile!   
Technical Details
Message-ID: <6f1le0$18sk@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,fe757b5b7ab8cc64
X-Google-Attributes: gid127144,public
From: donald johnson <johnson@cs.colostate.edu>
Subject: Assignment 5 Que Constr
Date: 1998/03/22
Message-ID: <6f1le0$18sk@yuma.ACNS.ColoState.EDU>
X-Deja-AN: 336396321
Organization: Colorado State University, Fort Collins, CO  80523
User-Agent: tin/pre-1.4-980226 (UNIX) (SunOS/5.5 (sun4c))
Newsgroups: csu.cs.200