文章
首页 我的博文
用户3635970 2013-7-30 20:16
Issues with inheritance by composition
I'm continuing my discussion on how to implement and use virtual functions in C. The basic approach is to implement each class as a C structure and ...
用户3635970 2013-6-21 18:46
Thoughts on virtual functions in C
For some time now, I've been discussing how to implement and use virtual functions in C. , The basic approach is to implement each class as a C ...
用户3635970 2013-4-8 22:11
Alternative ways to mimic inheritance in C
For some time now, I've been explaining how to implement and use virtual functions in C. 1, 2 I showed how to emulate a polymorphic C++ class ...
用户3635970 2013-2-22 11:22
Ways to implement derived class vtbl in C
For several months now, I've been discussing polymorphic types and virtual functions. I explained how to use virtual functions in C++ as well as ho ...
用户3635970 2013-1-15 19:27
How to implement pure virtual functions
Last year, I wrote a number of articles on how virtual functions behave in C++ and how you can obtain similar behaviour in C. In short, you can emu ...
用户3635970 2012-12-20 18:47
The concept of pure virtual functions
In my previous blogs, I've been explaining how virtual functions behave in C++ and how you can obtain similar behaviour in C. A few months ago, I s ...
用户3635970 2012-12-20 18:43
Learn to initialise derived polymorphic objects
In the past several months, I have discussed polymorphic types and virtual functions. I showed how to implement virtual functions in C in a way t ...
用户3635970 2012-11-22 20:57
How to initialise derived polymorphic objects
I have previously discussed polymorphic types and virtual functions. I showed how to implement virtual functions in C in a way that generates machi ...
用户3635970 2012-11-22 20:55
Understand initialization of polymorphic objects
I've previously discussed polymorphic types and virtual functions. I have also discussed how to implement virtual function in C in a way that gener ...
用户3635970 2012-10-24 18:13
How to properly initialise polymorphic objects
On and off for the past year, I've been discussing polymorphic types and virtual functions. A couple of months ago, I showed how to implement virt ...
用户3635970 2012-9-18 20:22
Having impure thoughts
Object-oriented programming uses a combination of techniques: data abstraction, inheritance, and polymorphism. C++ supports data abstraction by pro ...
用户3635970 2012-8-14 13:49
Implementing virtual functions in C
Last month, I explained how C++ compilers typically implement virtual functions by illustrating how using virtual functions affects the storage lay ...
用户3635970 2012-7-27 20:10
Setting storage layout for polymorphic objects
A few months ago, I explained how virtual functions support dynamic function call binding in C++. (see Understanding Virtual Functions in C++ ). T ...
用户3635970 2012-6-14 19:10
It's not the choice of processor
Last month, I reviewed the data on programming language usage from the past 14 years of reader surveys by the publisher of Embedded Systems Progra ...
用户3635970 2012-4-13 21:23
Understanding virtual functions in C++ (Part 2)
  The is a relationship Derivation defines an "is a" or "is a kind of" relationship between the derived and base class. That is, ...
关闭 站长推荐上一条 /2 下一条