Ryoga-exe / proconio-zig

proconio for the Zig programming language. useful and easy io library for programming contests.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

proconio-zig

proconio for the Zig programming language. useful and easy io library for programming contests.

usage

const std = @import("std");
const Input = @import("proconio.zig").Input;

pub fn main() !void {
    const input = Input(1024).init();

    _ = input.nextUsize();
    _ = input.nextFloat(f64);

    const allocator = std.heap.page_allocator;
    const slice = input.nextSlice(usize, allocator, 10);
    defer allocator.free(slice);
}

About

proconio for the Zig programming language. useful and easy io library for programming contests.


Languages

Language:Zig 100.0%