aboutsummaryrefslogtreecommitdiff
path: root/exercises/093_hello_c.zig
diff options
context:
space:
mode:
authorChris Boesch <[email protected]>2023-02-18 23:39:21 +0100
committerChris Boesch <[email protected]>2023-02-18 23:39:21 +0100
commit23f2cc88d268ecc1ed0cd5f70a315b02f94ff21b (patch)
tree26305b3bae8ccdabfb23bddc0ca3b0038f20f0f0 /exercises/093_hello_c.zig
parent6353299cd622141333fcb0e2ae11118465fee9ea (diff)
downloadziglings-23f2cc88d268ecc1ed0cd5f70a315b02f94ff21b.tar.xz
ziglings-23f2cc88d268ecc1ed0cd5f70a315b02f94ff21b.zip
added C math exercise
Diffstat (limited to 'exercises/093_hello_c.zig')
-rw-r--r--exercises/093_hello_c.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/exercises/093_hello_c.zig b/exercises/093_hello_c.zig
index b294f38..368a918 100644
--- a/exercises/093_hello_c.zig
+++ b/exercises/093_hello_c.zig
@@ -57,7 +57,7 @@ pub fn main() void {
const c_res = write(2, "Hello C from Zig!", 17);
// let's see what the result from C is:
- std.debug.print(" - C result ist {d} chars\n", .{c_res});
+ std.debug.print(" - C result ist {d} chars written.\n", .{c_res});
}
//
// Something must be considered when compiling with C functions.