Programming Pointers
Dan Saks, a widely recognized expert in C and C++, offers tips and techniques to embedded developers.
Archives
-
Implementing pure virtual functions
Implementing pure virtual functions as null pointers is simple but probably not robust enough for... Read More
-
Pure virtual functions
Pure virtual functions provide a way to avoid defining base class member functions that have no... Read More
-
Initializing derived polymorphic objects
Each class in a hierarchy of polymorphic objects should have a function that initializes its vptr... Read More
-
Initializing polymorphic objects
Virtual function calls work properly only if the vptrs and vtbls are initialized properly. C++ does ... Read More
-
Impure thoughts
Once more unto the breach, Dan tries to dispel the notion that C++ is a purely object-oriented... Read More
-
Virtual functions in C
Although C doesn’t provide native support for virtual functions, you can emulate virtual functions... Read More
-
Storage layout for polymorphic objects
Adding at least one virtual function to a class alters the storage layout for all objects of that... Read More
-
It's not the processor
Although over two thirds of embedded systems developers are programming 32- and 64-bit processors, C ... Read More
-
Unexpected trends
Dan Saks crunches over 12 years of data on programming-language preferences from reader studies and... Read More
-
Virtual functions in C++
Class derivation and virtual functions let you define a common interface for related classes with... Read More


