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