I'm coding an app in C++, using Qt for the GUI and JACK for audio. JACK requires a callback function to be registered for processing the audio signal. If the function in question is a member of a C++ ...
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 ...
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 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 ...
In the first part of this series, we covered the basics of pointers in C, and went on to more complex arrangements and pointer arithmetic in the second part. Both times, we focused solely on pointers ...
Embedded C developers shy away from C++ out of concern for performance. The class construct is one of their main concerns. My previous article Code Craft – Embedding C++: Classes explored whether ...