aboutsummaryrefslogtreecommitdiff
path: root/src/defaultIO.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/defaultIO.zig10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/defaultIO.zig b/src/defaultIO.zig
index b87c2d6..9da4ad2 100644
--- a/src/defaultIO.zig
+++ b/src/defaultIO.zig
@@ -16,15 +16,13 @@ pub fn decimalInput() IOErrors!i64 {
}
pub fn characterOutput(v: i64) IOErrors!void {
- // TODO
- _ = v;
- return error.NotImplemented;
+ std.debug.print("{c}", .{@intCast(u8, v)});
+ return;
}
pub fn decimalOutput(v: i64) IOErrors!void {
- // TODO
- _ = v;
- return error.NotImplemented;
+ std.debug.print("{d}", .{v});
+ return;
}
test "all" {