I need some assistance, please ! :(
Hi, my name is Josh and I need help with my code :'( Sorry to bother you guys, I've started to get hands on codding a game with my lack of knowledge and encountered some errors, the code below is an adaptation that I made from the Polymorphism course... I'll try to explain what I want to do... I want to make a function that gets the current weapon that I am using and prints it to the screen, I want to add the stats of the weapon to the base stats of a hero, Sorry, I know my code is bad... bare in mind that I am still learning and for me, the course is a little confusing, but I am trying really hard to learn, I am currently reading the book: C++ Primer 5th Edition to get a better understanding of the language... I am thanking you guys already for the help along the courses! https://code.sololearn.com/cK1T5bfUm47b UPDATED