zig-help

21196 threads · Page 166 of 424

Pass slice into function and modify elements 7 messages
New User Answered
Using objects' in-memory address as an identifier. 3 messages
Answered
how can i get the size of the contents in a txt file? 3 messages
comptime call of extern function (SDL3) 6 messages
Answered
How to pass data b/w 2 modules that each need to include the linked library? 2 messages
inline asm constrait 11 messages
how to format a string 8 messages
Answered
Zig assuming an integer literal (8) is a u3, and then erroring. 9 messages
Easy way to convert a C function definition to a Zig one 2 messages
0.13.x
how to get zls working in neovim? 6 messages
New User
Panic in custom build step 24 messages
Answered
How to get an integer of arbitrary bitsize in comptime? 2 messages
Answered
How can I declare a function return type that returns a generic struct of any type? 7 messages
Ziglings 047 43 messages
0.14.x New User Answered
Unable to get glfw working with zig 3 messages
New User
how do you specify precision formatting at runtime? 5 messages
0.14.x Standard Library Answered
Wasm memory allocation and de-allocation questions 15 messages
Answered 0.13.x
how can i safely cast a `*const [N:0]u8` to `[]const u32`? 42 messages
0.14.x Standard Library
How to use standardOptimizeOption? 7 messages
error with allignment 53 messages
0.14.x Standard Library Answered
Using the Windows headers in LibC with build 6 messages
Build System Standard Library New User 0.13.x
how to make not run at comptime 8 messages
Test build: conditionally run some code in app? 3 messages
Answered
check struct has property? 8 messages
No builtin function for bytes -> ascii ?? 41 messages
Standard Library New User
Running CMake via build.zig to build glfw 2 messages
Build System New User Answered 0.13.x
Sparse constant arrays 7 messages
New User Answered
workaround 14 messages
0.14.x
dynamic 2D array 5 messages
Answered
Do I need to align nested structs too if my goal is packing? 16 messages
How to Declare a Variable that Aliases a Register 16 messages
C# style multi-dimensional indexing? 18 messages
New User
i got recomended to ask here 40 messages
how to store array of tagged union 19 messages
struct vs array + enum question 20 messages
Zig Pointers 33 messages
0.14.x New User Answered
Copy from type to byte array. (type '*const u16' is not an indexable pointer) 12 messages
Answered
Is there a way to check if a field name needs to be wrapped in .@"" Syntax? 3 messages
0.14.x Answered
use build options in main code 7 messages
How to align 4 byte function ptr? 12 messages
Where am i leaking memory? 11 messages
0.14.x
Could i get a u62 function ptr? 14 messages
is there a way to get the project name from build.zig in main.zig without exporting it ? 28 messages
Answered
Access struct member without passing self or closures? 7 messages
New User Answered
convert `[*c]u8` to `[*:0]u8` 9 messages
0.14.x Answered
proper way to get build target when you're a module 5 messages
Answered
`alloc.dupe` generic type which could be `[]const u8` 16 messages
Answered
What did `std.math.intFittingRange` become from 0.12 to now? 4 messages
Why does this code not work from 0.12 -> ~0.14? 16 messages
linking glfw and vulkan 11 messages
Build System 0.14.x Standard Library Answered