How to track changes in the clipboard?

Good day!
You need to keep track of the clipboard changes, and in the event of a change in the data record other.
C# was a smart article, which allowed it to do everything.
In General, I need in case of change of data in the buffer, the new record into a variable (hope understand).
If not difficult give an example, because the only example I found on the Internet, compares the data in the buffer with those at program startup, which in my case is not suitable. Need it on the change event, write a new value into a variable.
June 10th 19 at 14:44
2 answers
June 10th 19 at 14:46
The easiest way to get qt
There is a class firing events on change of data in the buffer
June 10th 19 at 14:48
It is very difficult to understand documentation in English language.
What they wanted however implemented, but very stupid cycles because AddClipboardListener did not understand( - Christian.Thi commented on June 10th 19 at 14:51

Find more questions by tags C++