From 33182dd9dd7ceafce41ed7a7f57a21d159b1b4d5 Mon Sep 17 00:00:00 2001 From: Oskar Date: Mon, 23 Sep 2024 21:55:07 +0200 Subject: more --- 7p27.cpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 7p27.cpp (limited to '7p27.cpp') diff --git a/7p27.cpp b/7p27.cpp new file mode 100644 index 0000000..c5b3822 --- /dev/null +++ b/7p27.cpp @@ -0,0 +1,19 @@ +#include +#include "screen.hpp" + +/* + * + * 7.27 + * + * + */ + +int main () { + + Screen myScreen(5, 5, 'X'); + myScreen.move(4,0).set('#').display(std::cout); + std::cout << "\n"; + myScreen.display(std::cout); + std::cout << "\n"; + return 0; +} -- cgit v1.2.3