feat: Initial 'Hello, World!' application
This commit is contained in:
parent
1f6cf39f68
commit
10a5347fd4
1 changed files with 11 additions and 0 deletions
11
src/main.zig
Normal file
11
src/main.zig
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
const std = @import("std");
|
||||||
|
|
||||||
|
pub fn main() !void {
|
||||||
|
const stdout_file = std.io.getStdOut().writer();
|
||||||
|
var bw = std.io.bufferedWriter(stdout_file);
|
||||||
|
const stdout = bw.writer();
|
||||||
|
|
||||||
|
try stdout.print("Hello, world!\n", .{});
|
||||||
|
|
||||||
|
try bw.flush();
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue