zig/doc/langref/hello.zig

9 lines
168 B
Zig
Raw Normal View History

const std = @import("std");
pub fn main() !void {
const stdout = std.io.getStdOut().writer();
try stdout.print("Hello, {s}!\n", .{"world"});
}
// exe=succeed