diff options
Diffstat (limited to 'ee1301/wk6/lab5/Bug.cpp')
-rw-r--r-- | ee1301/wk6/lab5/Bug.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/ee1301/wk6/lab5/Bug.cpp b/ee1301/wk6/lab5/Bug.cpp index 337e84b..b4ef154 100644 --- a/ee1301/wk6/lab5/Bug.cpp +++ b/ee1301/wk6/lab5/Bug.cpp @@ -1,12 +1,12 @@ -#include "Bug.hpp" - -int main() { - Bug buggy(10); - buggy.display(); - buggy.move(); - buggy.display(); - buggy.turn(); - buggy.display(); - buggy.move(); - buggy.display(); -} +#include "Bug.hpp"
+
+int main() {
+ Bug buggy(10);
+ buggy.display();
+ buggy.move();
+ buggy.display();
+ buggy.turn();
+ buggy.display();
+ buggy.move();
+ buggy.display();
+}
|