3 ms·
I once used function pointers in C to generate -- and iterate over -- menu options in a Mac app I was writing. I felt like such a naughty, naughty boy for doing
by bitwize 16y ago
I once used function pointers in C to generate -- and iterate over -- menu options in a Mac app I was writing. I felt like such a naughty, naughty boy for doing so.
There's probably a rule in those Joint Strike Fighter C++ guidelines that says function pointers shall not be used.
- rbranson 16y agoWhat's wrong with function pointers? Did you know that when you call most I/O functions in GNU libc they go through function pointers? It's a bit of faux OOP.