Categories
C/C++

C/C++ function pointers

What do you do when everyone else does it the hard way?

A while ago I edited the Wikipedia article on function pointers to explain an alternate syntax that I’ve used for years, but no-one else seems to. My way seems to me to be much clearer and more concise than the “canonical” one described in all the text books—so why isn’t everyone using it?

I’ve just assumed that it was lack of knowledge, so I’ve posted about C/C++ function pointers directly here.

John Adriaan's avatar

By John Adriaan

John has been working on computers for longer than they've existed... I mean, for longer than they've been connected to the Internet.

Leave a comment