From 423b8a8dee38dbe52132a01ed730c942e871328d Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 8 Oct 2024 12:29:57 +0200 Subject: [PATCH] made variable input --- src/C++/Driver/src/test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/C++/Driver/src/test.cpp b/src/C++/Driver/src/test.cpp index 087eac4..2f3faf0 100644 --- a/src/C++/Driver/src/test.cpp +++ b/src/C++/Driver/src/test.cpp @@ -38,6 +38,7 @@ int main() { // } int command() { + char input; std::cout << "choose between forward and rotate" << endl; std::cout << "What must the robot do?"; cin >> input;