Use c++ instead blueprint

hello forum this is my first post and i’ve wathing UE videos for 2d development, but almost all tutorial are using blue print to handle sprite ( like a player ) properties, is there a way to create a c++ class and to it add animaitions and input events? is there a tutorial for that somewhere?

i was watching some kind of tutorials that are tanks vs zombien where are using c++, but it seems they are talking between themselves instead to creeate like tutorial so its dfficult to me to follow them up.
PD: i would like to use only c++ classes instead blue prints.
thanks in advance.

One of the best tutorials to learn from is this one from Tom Looman.

Covers most of the sections you need to get going with C++