C++ Tutorial 24: Function Pointers!

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

essential and plainly explained: thanks and don't listen to the trolls who dismiss your work

fabrizioriva
Автор

just on a side note, the acoustics of your keyboard are great, nice oakey timbre lol. very satisfying to listen to for some reason

cactusdoodle
Автор

function pointers would work well in C if you want a polymorphic like thing.

hrbharry
Автор

Technically, this is what virtual functions use, yes. But that is quite complicated in terms of how it works. I used to know, but I kinda forgot :P

Zhuinden
Автор

so these are something like virtual functions right?

Автор

You should use proper indentation when writing code.

octavianme
Автор

I like what you did but I still i don't know what the goal of using Function pointer, I used to see for example int function and call that function with passing integer by this way I can the same result that you trying to give, I wish if you can see my comment and replay thank you

sumrjd
Автор

for doing stuff as dictionary.
stuff you could only do in python and its kin

adirmugrabi
Автор

@174566661 I don't really understand where you are coming from - they basically just "point" to different functions.

DevHQLessons
Автор

SHOULD LEARN IT BEFORE UPLOAD A VIDEO. YOU ARE USING THEM IN A NAIVE WAY THEY ARE USUALLY USED FOR GENERIC PROGRAMMING OR EVENT DRIVEN PROGRAMMING. l:)

luqmanahmad