Function pointers and callbacks

Pubblicato il: 27 settembre 2013
sul canale di: mycodeschool
336,321
4.2k

See complete series on pointers here http://www.youtube.com/playlist?list=...

In this lesson, we have explained use cases of function pointer through code examples. In previous video, we had explained basics of function pointers.

See Bubble sort video here:
   • Bubble sort algorithm  

About event handling - You can think of a scenario where if something happens in a user interface, you want to perform some action. For example, upon a mouse click, you want to call some function. Many libraries give you a design where you can register a callback function to be called upon an event (like a mouse click). Library function will callback this function that you would register whenever the event occurs. Basically library function will call all functions registered for the event (stored in some list).

See this Wikipedia article to know about events: http://en.wikipedia.org/wiki/Event_(c...)

For practice problems and more, visit: http://www.mycodeschool.com

Like us on Facebook:   / mycodeschool  

Follow us on twitter:   / mycodeschool  


In questa pagina del sito puoi guardare il video online Function pointers and callbacks della durata di ore minuti seconda in buona qualità , che l'utente ha caricato mycodeschool 27 settembre 2013, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 336,321 volte e gli è piaciuto 4.2 mille spettatori. Buona visione!