zig-help

21196 threads · Page 279 of 424

Infer function return type? 26 messages
Answered 0.13.x
Checking if a File is valid UTF 8 Or Non Binary? 6 messages
Iterating Over Struct Fields 4 messages
How to understand this error? 22 messages
New User
This doesnt make sense. "access of union field 't0' while field 't0' is active" 3 messages
How to sleep in Zig? 3 messages
JUI building errors 10 messages
Answered
check if building for x86 or x64 3 messages
Composing error types 2 messages
Answered
I want to understand why this produces const ptr and is it safe to `@constCast` 49 messages
Answered
Cant stop thinking the C way 3 messages
Correct way to do pointer arithmetic with signed offsets? 21 messages
Tracking memory use of std allocators 6 messages
Question about `GetAddrInfoExA` 18 messages
Parse float from []u8 slice 3 messages
Setting output directory in zig build-exe 2 messages
Compiler New User
Is it fine to reference `self` in a C callback like this? 6 messages
Answered
reinstall not working 5 messages
Customize scalar values with build args 18 messages
Pass an allocator by reference? 15 messages
should init return pointer ever? 16 messages
0.11.x New User 0.13.x
Zig vscode extension settings (Inlay hints) 4 messages
New User Answered
unable to evaluate comptime expression 5 messages
Answered
std.sort what is context 3 messages
Answered 0.13.x
Second field of extern struct has weird value on specific platform 4 messages
Why am I getting this error for arena in arena 15 messages
New User 0.11.x Answered 0.13.x
A misunderstanding about pointers 2 messages
How to use the @round function? 11 messages
New User
aHow to use this C code? 9 messages
Advice for comptime data mapping 6 messages
Can I force static link system library? 4 messages
Having difficulty initializing a large array 3 messages
zls disagrees with compiler on usingnamespace? 30 messages
New User 0.13.x
how to cast from f32 into i32 12 messages
Datastructure supporting both explicit heap and implicit stack allocation 10 messages
Wondering If this was Possible for Unions 8 messages
defer run place? 11 messages
thread 35 messages
Using a C Library in Zig 113 messages
Is there a way to get a list of variables defined in the current scope? 19 messages
How to `zon` a dependency from `github` 2 messages
0.11.x Answered
C macro calling a function pointer in a struct 3 messages
Compiler New User 0.13.x
Create an instance that points to iself (self-referential) 155 messages
Best way to determine if an int value is valid for an enum? 4 messages
New User
zig build fails on a C++ project. 3 messages
Compiler New User
Convert an array of []f64 to []8 for processing in another langauge 8 messages
Generic bubbleSort, Pro and Contra 42 messages
0.13.x
How can I enter raw mode in Zig? 2 messages
calculate max u64 at comptime question 4 messages
New User Answered
Multidimensional array parameters / Matrix operations 73 messages