From f7efa13d63c1cf39a879bbe4bfa7070ff514fef3 Mon Sep 17 00:00:00 2001 From: Aarik Pokras <85502246+aarikpokras@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:34:05 -0500 Subject: [PATCH] Update io.cpp to work with bug fixes to io.h --- lib/io.cxlbund/io.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/io.cxlbund/io.cpp b/lib/io.cxlbund/io.cpp index d730d9b..c51759c 100644 --- a/lib/io.cxlbund/io.cpp +++ b/lib/io.cxlbund/io.cpp @@ -4,12 +4,16 @@ #include "io.h" using namespace std; -void loop(void (*what)(void), num times) { +void loop(void (*what)(void), num times) { for (num i = 0; i < times; i++) { what(); } } +void printi(num i) { + std::cout << i.c; +} + str read() { string out_; getline(cin, out_);