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 ...
Pointers — you either love them, or you haven’t fully understood them yet. But before you storm off to the comment section now, pointers are indeed a polarizing subject and are both C’s biggest ...
First off, I'll have coded a workaround before you read this. But now I've got a bee up my bu, errr, bonnett.<BR><BR>I'm writing test code in C, and I need 100 pointers to (unique) functions. I'm ...
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 ...
As someone who has spent over two decades in the embedded systems industry, I’ve seen the vast evolution of technology—from 8-bit microcontrollers to today’s sophisticated, multicore systems. Yet, one ...
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 ...
Separating interface from implementation has many practical benefits. Here’s a simple way to do just that, in ANSI-standard C code. How do you organize medium-sized or larger C programs? Few C ...
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 ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results
Feedback