+ 2
In SoloLearn's code playground it's not possible, because of it's limitations. If it is possible, you might find out if you search the internet
+ 1
This video I found is the best solution for animating in c/cpp
It's not exactly what you wanted to know, but it's the only thing I've found
https://youtu.be/qg73TGqrteU