mirror of
https://gitlab.fdmci.hva.nl/technische-informatica-sm3/ti-projectten/rooziinuubii79.git
synced 2025-08-04 20:35:00 +00:00
Made some variables full caps
This commit is contained in:
@@ -8,8 +8,8 @@ using namespace std;
|
||||
CKobuki robot;
|
||||
int command();
|
||||
|
||||
const char forward = '1';
|
||||
const char rotate = '2';
|
||||
const char FORWARD = '1';
|
||||
const char ROTATE = '2';
|
||||
|
||||
int main() {
|
||||
unsigned char *null_ptr(0);
|
||||
@@ -41,7 +41,7 @@ int command() {
|
||||
cin >> input;
|
||||
|
||||
switch (input) {
|
||||
case forward: {
|
||||
case FORWARD: {
|
||||
int distance;
|
||||
std::cout << "Enter distance to move forward: ";
|
||||
cin >> distance;
|
||||
|
Reference in New Issue
Block a user