Question: In C++ I don't understand what I am doing wrong. I keep getting a long list of errors during compiling the program. Especially errors telling

In C++ I don't understand what I am doing wrong. I keep getting a long list of errors during compiling the program. Especially errors telling me i can't convert usr_direction to a character. The purpose is to create an object and move it slowly vertically/horizontally across the screen. Any help is most appreciated! What is on the project is as far as we have learned.

The object part works, need help with the moving part.In C++ I don't understand what I am doing wrong. I keepgetting a long list of errors during compiling the program. Especially errors

#include #include #include using namespace std; int main() enum Direction (Horizontal 'H', Vertical-'V' Direction usr direction; //Direction usr directionstatic cast (ch) const int move 17: 1/will indicate how many to move int height; /umber of lines of object do char response; cout > height; cout > usr direction; I usr_directiontoupper (usr_direction) do for (i- 1; I move); cout > response; }while(response 'Y' ll response == 'y'); return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!