This is an Advent of Code solution. Click to reveal!
The cogs are turning...
Run
Share
// Paste your Zig code or diffs here! // Terms of service and help is available at zigbin.io/help const std = @import("std"); // Lines 7-8 prints in two different ways pub fn main() !void { try std.io.getStdOut().writer().print("Hello standard out!\n", .{}); std.debug.print("Hello standard error!\n", .{}); }
Run
Godbolt ⚙
New paste