S
Sean McIlroy
hi all
i'm thinking of "diving into c++", but first i have a couple of
general questions which hopefully somebody here will be kind enough to
answer. my programming background is that i'm fairly familiar with
python, and i once took a single-semester course in c++, although that
was some time ago. here are the questions:
*) are class-instances first class, in the sense of being permissible
arguments for a function and also permissible return-values for a
function?
*) same question as above, except substitute "pointers" for "class-
instances"
hopefully these questions aren't too retarded. unfortunately my c++
instructor was something of a chucklehead; i never managed to see the
big picture, so most of the knowledge subsequently leaked out of my
ears. anyway, thanks if you can help.
peace
stm
i'm thinking of "diving into c++", but first i have a couple of
general questions which hopefully somebody here will be kind enough to
answer. my programming background is that i'm fairly familiar with
python, and i once took a single-semester course in c++, although that
was some time ago. here are the questions:
*) are class-instances first class, in the sense of being permissible
arguments for a function and also permissible return-values for a
function?
*) same question as above, except substitute "pointers" for "class-
instances"
hopefully these questions aren't too retarded. unfortunately my c++
instructor was something of a chucklehead; i never managed to see the
big picture, so most of the knowledge subsequently leaked out of my
ears. anyway, thanks if you can help.
peace
stm