Function pointers and callbacks

Опубликовано: 27 Сентябрь 2013
на канале: 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  


На этой странице сайта вы можете посмотреть видео онлайн Function pointers and callbacks длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь mycodeschool 27 Сентябрь 2013, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 336,321 раз и оно понравилось 4.2 тысяч зрителям. Приятного просмотра!