For example, see here
to remind yourself For that IoC and
the questions and answers are here
Suggestion that he does not need oo language.
Now, my question: is anyone doing this in C?
I am asking because we write embedded C and are considering implementing these methods without changing our programming language.
The signal to do this all the time in C is given in the reply given to Eder in your second link:
"When you give a Windows API function an indicator for the callback function, you give them control of the call with your parameters in your function."
This approach From, the concept has been used previously in the standard library for functions in qsort () and bsearch ().
No comments:
Post a Comment