Coder's Guild Mailing List

Re: C++ programming

Posted by Frank Hale on 1999-04-08

James Durbin wrote:
> 
> As far as I know there isn't a way to do this, but I have something to
> say that may make you understand it better.  Think of it as being like a
> function that the code is under main.  You are technicaly 'prototyping'
> the class.  It may even be more helpful to do this for all of the
> classes, therefore it may make the code look a little cleaner and
> understandable.  Just trying to help. :)
> 

Thank you for your reply. I infact feel that the forward declarations
(class prototypes if you will) are ugly to look at especially in the
code that I am trying to figure out. I am sure that once I get a good
feel for this code it will make sense. But I've never used class forward
declarations so I am a little biased when reading other code that has
them its just a personal preference. I will grow to like it sooner or
later. Considering I've already had a failed attempt to get rid of them.

Thanks.

-- 
From:      Frank Hale           | BootPC();
Email:     frankhale@xxxxxxxx.xxx.xxx   | if(OS != Linux) {
ICQ:       7205161          |   Reboot();
Website:   http://www.franksstuff.com   | }