zig-help
which one should i use if im reading a file and i want to read an entire line (every now and then, s
0.13.x
casting slice types?
What is expected of .Debug build mode?
Compiler
Build system — possible to open a file & pass contents as args to run step?
Build System
Answered
switch reference inline else
0.13.x
how can I configure module path in zig ?
Build System
New User
0.13.x
build.zig.zon - help needed
Build System
0.14.x
New User
Answered
declare multiple variables on the same line
Answered
How to print struct to `.zon` file?
Answered
std.testing.allocator OutOfMemory error
Standard Library
0.12.x
terminal input delay
insertion sort: integer overflow
how can you pipe data from a reader to a writer? do you need a transfer buffer?
Answered
how do i use C in Zig (as online guides seem to be outdated)
why doesn't this print
Answered
How to swap a []u8
Answered
IO Polling and Stream Reading
Answered
Learn the zig compiler source
link with Microsoft Detours
Natural alignment and padding in nested struct case
Answered
Build with OpenGL or SDL option in build system
Build System
New User
Answered
0.13.x
Build System
JSON stringify and ArrayList
Answered
std.rand in 0.14?
Standard Library
Answered
weird segfault
best way to deinit a struct?
+|=
Standard Library
Answered
0.13.x
how to find type names inside of imported namespaces (gdb)
0.14.x
Answered
Does it make sense to write extra comptime functions alongside "normal" functions?
Standard Library
New User
0.13.x
Why is std.builtin.Type.StructField.default_value an ?*anyopaque?
Answered
Where can I find the definition for `std.net.StreamServer`?
Standard Library
New User
Answered
Different behavior Debug/Release mode
Answered
file not found error
zigwin32 GetModuleHandle
New User
Simple way to obtain the maximum float of a type?
Answered
0.13.x
what's the difference between write, writeAll, and Print?
New User
Standard Library
Answered
0.13.x
whats the current reccomended way to read files? on a line by line basis (or character)
Answered
Linker flag problem using Zig as C compiler for cross-platform
Requires that UNICODE be set
Answered
Get mutable pointer to a while variable
Answered
integer cast truncated bits
errors with interfaces
How to accept SIGUSR1 and stop reading from stdout of child process
confused about : expected type '*main.GUID', found '*const main.GUID'
New User
How to translate-c a system header?
how to get amount of cpu cores for windows, mac and linux?
Is it possible to use C library with zig that uses Cmake as it's build system?
Build System
Answered
Best way to convert struct to byte slice in zig
Zig can't build itself
Unable to evaluate comptime expression
0.14.x
Compiler
Answered