Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!rex!uflorida!gatech!bloom-beacon!eru!hagbard!sunic!mcsun!ukc!mucs!liv-cs!markr From: markr@and.cs.liv.ac.uk Newsgroups: comp.lang.c++ Subject: Constructor question Message-ID: <1991Apr2.110623.22219@and.cs.liv.ac.uk> Date: 2 Apr 91 11:06:23 GMT Organization: Computer Science, Liverpool University Lines: 21 Just a simple question: Can I call one constructor to class X explicitly from within another constructor to class X ? Example: constructor X::X( int i ) performs a lot of initialisation that needs to be done at the start of X::X( char *c ) too. Can I write: X::X( char *c ) { X( 5 ); // rest of stuff ? Or maybe something similar with different syntax? Apologies for turning the group into a tutorial session, but I can't find any reference to this in my C++ books. Mark Rivers markr@uk.ac.liverpool.compsci , via an appropriate relay if necessary