aboutsummaryrefslogtreecommitdiffstats
path: root/ee1301/wk6/lab5/Bug.cpp
diff options
context:
space:
mode:
authorMatthew Strapp <msattr@gmail.com>2019-04-17 17:00:57 -0500
committerMatthew Strapp <msattr@gmail.com>2019-04-17 17:00:57 -0500
commit7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3 (patch)
treeb6cc5690621a08af346d80680edc882bb3631ace /ee1301/wk6/lab5/Bug.cpp
parentfinish up (diff)
downloadhomework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar.gz
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar.bz2
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar.lz
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar.xz
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.tar.zst
homework-7bd0457ece5cfea5e17d6f2ac04508daefc6e4e3.zip
LAB TIME
OH NO
Diffstat (limited to 'ee1301/wk6/lab5/Bug.cpp')
-rw-r--r--ee1301/wk6/lab5/Bug.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/ee1301/wk6/lab5/Bug.cpp b/ee1301/wk6/lab5/Bug.cpp
new file mode 100644
index 0000000..337e84b
--- /dev/null
+++ b/ee1301/wk6/lab5/Bug.cpp
@@ -0,0 +1,12 @@
+#include "Bug.hpp"
+
+int main() {
+ Bug buggy(10);
+ buggy.display();
+ buggy.move();
+ buggy.display();
+ buggy.turn();
+ buggy.display();
+ buggy.move();
+ buggy.display();
+}