Advertisement
Guest User

Untitled

a guest
May 25th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. const std = @import("std");
  2. const io = std.io;
  3.  
  4. pub fn main() !void {
  5. // const stdout_file = try io.getStdOut();
  6. // var stdout = stdout_file.outStream().stream;
  7. const stdout_file = try io.getStdOut();
  8. const stdout = &stdout_file.outStream().stream;
  9. try stdout.print("hello world\n");
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement