Ask coding questions

← Back to all posts
How do I fix the errors that I have on this code?
GrabielPerez

How do I fix the errors that I have on this code?

Answered by Highwayman [earned 5 cycles]
View Answer
Voters
GrabielPerez
Comments
hotnewtop
Highwayman

You never actually declared Wizard or Player at all. There is neither a namespace nor a class called Wizard or Player anywhere. All you need to do is declare those two things and the functions before main and you should be good.

CosmicBear

Declare the identifiers