let me google that for you
search google for C++ tutorials
Buy good books on C++ ( some good books are: C++ primer 5th edition, learn Visual C++ in 21 days, C++ in a nutshell.)
Get books from library on C++'
After learning basic C++ , Start learning C++ d3d
https://directxtutorial.com/Tutorial9/tutorials.aspx
https://www.drunkenhyen*****m/cgi-bin/dx9.pl