Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
14
Task/Program-name/Zig/program-name.zig
Normal file
14
Task/Program-name/Zig/program-name.zig
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
const std = @import("std");
|
||||
|
||||
const debug = std.debug;
|
||||
const heap = std.heap;
|
||||
const process = std.process;
|
||||
|
||||
pub fn main() !void {
|
||||
var args = process.args();
|
||||
|
||||
const program_name = try args.next(heap.page_allocator) orelse unreachable;
|
||||
defer heap.page_allocator.free(program_name);
|
||||
|
||||
debug.warn("{}\n", .{program_name});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue