zig-help

21196 threads · Page 171 of 424

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