Add solutions

This commit is contained in:
Laurens Miers 2024-09-25 15:26:17 +02:00
parent 7417f01d5d
commit b056b6ad81
96 changed files with 229 additions and 166 deletions

View file

@ -54,7 +54,7 @@ pub fn main() void {
//
// In this exercise we use 'write' to output 17 chars,
// but something is still missing...
const c_res = write(2, "Hello C from Zig!", 17);
const c_res = c.write(2, "Hello C from Zig!", 17);
// let's see what the result from C is:
std.debug.print(" - C result is {d} chars written.\n", .{c_res});