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.

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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s