zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

print.zig (224B) - Raw


      1 const print = @import("std").debug.print;
      2 
      3 const a_number: i32 = 1234;
      4 const a_string = "foobar";
      5 
      6 pub fn main() void {
      7     print("here is a string: '{s}' here is a number: {}\n", .{ a_string, a_number });
      8 }
      9 
     10 // exe=succeed