I though C language does not allow objects but you can achieve something like that width function pointers.
Found this tutorial that explain more about it, most online tutorials like w3schools don't focus this part of C. Go up only to variable pointers.
Actually don't know why because this is such a important part of the language. I have seen a good amount of them in projects code but the explaining why or how they are doing still "flee me" up to this point...
https://stackoverflow.com/questions/840501/how-do-function-pointers-in-c-work
No comments:
Post a Comment