Check out example codes for "C++ RPG game". It will help you in understanding the concepts better.

Code Example 1

#This is not a tutorial...

#I hope C++ can be your favorite programming language
#C++ was the first programming language I learned and it was easy and fun!
#You can do it!

Learn ReactJs, React Native from akashmittal.com