How can I play animations strictly from C++?

Thanks a ton man!