Raindrops on roses, and whiskers on kittens. They’re ok, but state machines are absolutely on our short list of favorite things. There are probably as many ways to implement a state machine as there ...
Function pointers can be used for a wide variety of applications including the implementation of state machines. Just like any tool, it may not always be appropriate to use function pointers for a ...
A critical tool when developing an embedded system in C is an understanding of how pointers work. Misunderstanding pointer fundamentals can result in long hours spent debugging a system or a hidden ...
Delegates are type safe function pointers *with an optional this pointer* thus no need to pass one round yourself. Obviously their utility is much enhanced in contract to C++ by virtue of being part ...
A monthly overview of things you need to know as an architect or aspiring architect. Unlock the full InfoQ experience by logging in! Stay updated with your favorite authors and topics, engage with ...
This may fall under the heading of "Don't do that" but did cause me to be slightly curious.<BR><BR>What would happen if you say, created a pointer to a function that took three ints as arguments, but ...