Well as I was continuing my quest unto C++ learning, I found a few things in a section that I've heard aren't used much at all in Game Dev...I've sort of skimmed these sections, but I'd like to make sure that these aren't too important:
Virtual Functions
Operator Overloading
Multiply Inherited Objects
So do you guys use those at all? Out of those three, I know most about the virtual functions. The operator overloading seems just like writing your own function...and I can't really see much use with Multiply inherited objects.
Are these very Relevant/Used?
Moderator: Coders of Rage
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Are these very Relevant/Used?
I've used all of these to great effect at some point.
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- LuciDreamTheater
- Chaos Rift Newbie
- Posts: 39
- Joined: Tue Jan 20, 2009 2:18 am
- Location: Southern CA
- Contact:
Re: Are these very Relevant/Used?
Those are definitely used, but I've never had the need for these:
- Union
- Mutable
- Volatile
- Union
- Mutable
- Volatile
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Are these very Relevant/Used?
Ditto
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Are these very Relevant/Used?
Ditto with the two of you.
But I don't use the first ones much. They aren't common in the ES Engine. Virtual anything has overhead.
But I don't use the first ones much. They aren't common in the ES Engine. Virtual anything has overhead.
- M_D_K
- Chaos Rift Demigod
- Posts: 1087
- Joined: Tue Oct 28, 2008 10:33 am
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C/++
- Location: UK
Re: Are these very Relevant/Used?
I've used union.anothrguitarist wrote:Those are definitely used, but I've never had the need for these:
- Union
- Mutable
- Volatile
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.