0
Are there any event handlers in C++? If there are, which are they and how to use them?
Are there event handlers in C++?
1 ответ
+ 1
There are multiple options, depending of what you use.
Pure cpp has pointer to function, to member function and std::function
Qt has signal and slot system for that
Boost and some other libraries also have similar things. Then you should use documentation and find it out yourself.