On Mon, 22 Sep 2008 22:58:11 +0000, Joe, G.I. wrote:
ClassB(String &name) : ClassA(name);
I think there is no semi-colon on the initialization list because it
should be followed up by ClassB()'s {}'s
It should look something like this in the definition of the class ClassB
Bugtrap::Bugtrap(const string errormsg, const string file, const string line) : runtime_error(errormsg.c_str())
{
cerr << what();
cerr << "\nError file: " << file << " and line: " << line;
cerr << "\n**exiting now**\n";
}
--
http://www.mrbrklyn.com - Interesting Stuff
http://www.nylxs.com - Leadership Development in Free Software
So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998
http://fairuse.nylxs.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
"Yeah - I write Free Software...so SUE ME"
"The tremendous problem we face is that we are becoming sharecroppers to our own cultural heritage -- we need the ability to participate in our own society."
"I'm an engineer. I choose the best tool for the job, politics be damned.<
You must be a stupid engineer then, because politcs and technology have been attached at the hip since the 1st dynasty in Ancient Egypt. I guess you missed that one."
© Copyright for the Digital Millennium