Re: [Dev-C++] Derived Class not redefining function
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Hossein H. <ult...@em...> - 2003-10-19 18:23:48
|
Hi Per, > If you look a bit closer at the two methods, you will notice the different > signatures > > Employee::printCheck() is const > HourlyEmployee::printCheck() isn't const Waw, eagle eyes. But why should it call the const version? Thanks, --Hossein -- __________________________________________________________ Sign-up for your own personalized E-mail at Mail.com http://www.mail.com/?sr=signup CareerBuilder.com has over 400,000 jobs. Be smarter about your job search http://corp.mail.com/careers |