View Single Post
Old 06-27-2005, 04:37 PM   #9 (permalink)
Aniviel833
Registered User
 
Join Date: Jun 2005
Posts: 26
Aniviel833 is on a distinguished road
Yay!

It works now! (Partially because a thread on another site reminded me that I had to work in a project file, which I haven't done much before )

Thanks for all your help explaining this ifndef stuff, I appreciate it.

One question though:

I assume this:
Code:
Animal::Animal(bool f) : fur(f)
{ }
does the same thing as:

Code:
Animal::Animal(bool f)
{fur = f;}
Is this just your style, or is it more efficient/better programming practice?

Thanks again,
-Stacy
Aniviel833 is offline   Reply With Quote