Image

Imagehothothebrew wrote in Imagecpp

Listens: songs:ohia.

fck yr genes.

uh uh. yeah alright.

anyway, another question.

new chapter new question.

teacher has been out of town, so i haven't been able to ax 'em.

anyway. i'm supposed to derive a class from a derived class.

so, when i'm writing this bit of code for the new class would i start it off:

class NEWCLASS : public GRANDFATHERCLASS

or

class NEWCLASS : public PARENTCLASS

i guess my question is, when i'm doing the : public call, do i call the immediate derived class or the original derived class. if this doesn't make any sense let me know (i'm sure you guys will). maybe i'm just thinking about it all wrong.

also, within this new class i'm supposed to create some strings, but if i did the call like this:

AdminTitle(string theTitle)

what would this function do?

okay. i'm just kind of confused, if you need me to go into futher detail, let me know