Callback Intro
-
My brain must be mushed. I'm hoping to get back into real programming after a brief spell of not doing any, then doing a Python project at uni, and I would like to get into C++ - since it is a Games course. Every tutorial or article on callbacks (so far, not many) that I've read, I get the basic idea - then lose it. Possibly my experience in C# with objects is screwing my mind up... Can anyone recommend a good, short, simplified tutorial on a basic callback (just a proof-of-concept tutorial, preferably not solving any real problems). Or even "post teh codes plox"? In the meantime I think I'll read some more C++ guides.
Ninja (the Nerd)
Confused? You will be... -
My brain must be mushed. I'm hoping to get back into real programming after a brief spell of not doing any, then doing a Python project at uni, and I would like to get into C++ - since it is a Games course. Every tutorial or article on callbacks (so far, not many) that I've read, I get the basic idea - then lose it. Possibly my experience in C# with objects is screwing my mind up... Can anyone recommend a good, short, simplified tutorial on a basic callback (just a proof-of-concept tutorial, preferably not solving any real problems). Or even "post teh codes plox"? In the meantime I think I'll read some more C++ guides.
Ninja (the Nerd)
Confused? You will be...Write a program using
EnumWindows
[^]. A succesfull usage of such function will remind you about callback concepts for all your life. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles]