Dan Saks is president of Saks & Associates, a C/C++ training and consulting company. For more information about Dan Saks, visit his website at www.dansaks.com. Dan also welcomes your feedback: e-mail him at dan@dansaks.com.
C doesn't really support inheritance, but it offers alternative ways to mimic inheritance. For more than a year now, I've been explaining how to implement…
Implementing pure virtual functions as null pointers is simple but probably not robust enough for most applications. Last year, I wrote several columns on how…
Pure virtual functions provide a way to avoid defining base class member functions that have no meaningful implementation. For much of this year, I've been…
Each class in a hierarchy of polymorphic objects should have a function that initializes its vptr properly. For much of this year, I've been discussing…
Virtual function calls work properly only if the vptrs and vtbls are initialized properly. C++ does this automatically, while C makes you do it manually….
Although C doesn’t provide native support for virtual functions, you can emulate virtual functions in C if you attend to all the details. Last month,…
You must verify your email address before signing in. Check your email for your verification email, or enter your email address in the form below to resend the email.
Please confirm the information below before signing in.
{* #socialRegistrationForm *}
{* firstName *}
{* lastName *}
{* displayName *}
{* emailAddress *}
By clicking "Sign In", you confirm that you accept our terms of service and have read and understand privacy policy.
{* /socialRegistrationForm *}
Almost Done
Please confirm the information below before signing in. Already have an account? Sign In.
Almost Done
Please confirm the information below before signing in.
{* #socialRegistrationForm *} {* firstName *} {* lastName *} {* displayName *} {* emailAddress *} By clicking "Sign In", you confirm that you accept our terms of service and have read and understand privacy policy.