Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #7981

Re: call constructor class of class father

From Victor Bazarov <v.bazarov@comcast.invalid>
Newsgroups comp.lang.c++
Subject Re: call constructor class of class father
Date 2011-07-19 13:36 -0400
Organization A noiseless patient Spider
Message-ID <j04fbr$mqs$1@dont-email.me> (permalink)
References <42e33704-0c5d-48a4-ac8b-5982504c6af4@v37g2000yqm.googlegroups.com>

Show all headers | View raw


On 7/19/2011 12:07 PM, Ciro De Martino wrote:
> how can I call constructor of class father???

What's "class father"?  Do you mean the base class?  Then, yes, you can. 
  Read about initialization of classes and their base classes (section 
10 of FAQ deals with c-tors).

V
-- 
I do not respond to top-posted replies, please don't ask

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

call constructor class of class father Ciro De Martino <cirodema@gmail.com> - 2011-07-19 09:07 -0700
  Re: call constructor class of class father Victor Bazarov <v.bazarov@comcast.invalid> - 2011-07-19 13:36 -0400

csiph-web