1
0

Compare commits

..

No commits in common. "fb03ddb7ba64e419612a2b8a5df996fe25c32456" and "1da7074bfc981d4ee98f0dd2fba5621c6af7207f" have entirely different histories.

2 changed files with 2 additions and 24 deletions

View File

@ -1,6 +1,6 @@
build: build:
g++ -c *.cpp -o *.o g++ -c main.cpp -o main.o
g++ -o t *.o g++ -o t main.o
run: build run: build
./t ./t
edit: edit:

22
robot.h
View File

@ -1,22 +0,0 @@
#ifndef ROBOT_HEADER
#define ROBOT_HEADER
#include <string>
class robot {
private:
const std::string _name;
int _north;
int _east;
int _steps;
public:
void move_north();
void move_east();
void move_south();
void move_west();
int const north();
int const east();
int const travelled();
}
#endif