Are these very Relevant/Used?

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Are these very Relevant/Used?

Post by XianForce »

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.
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Are these very Relevant/Used?

Post by MarauderIIC »

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.
User avatar
LuciDreamTheater
Chaos Rift Newbie
Chaos Rift Newbie
Posts: 39
Joined: Tue Jan 20, 2009 2:18 am
Location: Southern CA
Contact:

Re: Are these very Relevant/Used?

Post by LuciDreamTheater »

Those are definitely used, but I've never had the need for these:

- Union
- Mutable
- Volatile
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Are these very Relevant/Used?

Post by MarauderIIC »

Ditto
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Falco Girgis
Elysian Shadows Team
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?

Post by Falco Girgis »

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.
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: Are these very Relevant/Used?

Post by XianForce »

Alright, thanks guys, Happy Coding =D
User avatar
M_D_K
Chaos Rift Demigod
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?

Post by M_D_K »

anothrguitarist wrote:Those are definitely used, but I've never had the need for these:

- Union
- Mutable
- Volatile
I've used union.
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.
Post Reply