diff --git a/src/C++/Driver/src/test.cpp b/src/C++/Driver/src/test.cpp index 40f1292..ed16512 100644 --- a/src/C++/Driver/src/test.cpp +++ b/src/C++/Driver/src/test.cpp @@ -8,8 +8,8 @@ using namespace std; CKobuki robot; int command(); -const std::string FORWARD = "forward"; -const std::string ROTATE = "rotate"; +const char FORWARD = '1'; +const char ROTATE = '2'; int main() { unsigned char *null_ptr(0); @@ -38,7 +38,7 @@ int command() { char input; while (true) { - std::cout << "choose between forward or rotate" << endl; + std::cout << "choose between forward = 1 or rotate = 2" << endl; std::cout << "What must the robot do?"; std::cin >> input;