Define something in C++

I am new to coding and I’m trying to make a player controller for my game but when I put the letter in that will be used to move the player it comes back as unidentified or undeclared. need help thanks.

Can you maybe insert the code that’s giving you problems so I can see the problem more clearly?