zig-help

21196 threads · Page 164 of 424

Compiler is being silly 13 messages
Compiler
Can you use @field to set members of a struct during construction 9 messages
Answered 0.13.x
is a for loop the only way to compare vectors? 4 messages
New User
addModule not working: error: no field or member function named 'create' in 'Build.Module' 3 messages
Answered
Ziglings 24 Return Return Return 267 messages
How do you use fetch properly? 4 messages
0.14.x New User Answered
how to store function as key in hashmap 36 messages
0.14.x Answered
Is there a countScalar function? 3 messages
0.14.x Standard Library Answered
More idiomatic way for iterate over Hashmaps. 12 messages
Answered
Zig thinks an integer is u2? 21 messages
Answered
How do folders and files work with import()? 6 messages
Extern function from .so stays undefined even though so is showing up in ldd output 3 messages
Answered
error: no field named 'struct' in union 'builtin.Type' 6 messages
[solved] errdefer when there is no error 3 messages
Answered
what does this mean 14 messages
0.14.x Answered
Execute file from package dependency 3 messages
Build System Answered
how can i initialize this with a single value? 20 messages
0.14.x Answered
Help understanding @alignCast and @ptrCast? 9 messages
Why is my random number generator not fast enough in 2 different calls? 15 messages
0.14.x Standard Library New User
When i try to import scanf from @cImport it shows 5 messages
New User Answered
Struct and Array Syntax confusion 27 messages
0.14.x Compiler
is converting parameters to a const pointer bad? 38 messages
New User
How to pass a hashmap into a function ? 5 messages
Answered
Implementing ThreadPerTaskExecutor (I'm from java background) 7 messages
Standard Library New User
Zig build CPP compilation 5 messages
Build System New User Answered
Zig-Extension for Zed and zls problems 10 messages
Answered
Implementing an Executor Interface in Zig – Seeking Guidance on Compile-Time Error 5 messages
New User
File Reading Into Struct 6 messages
Struct Syntax 77 messages
New User
OpenGL: Error 1282 with vertexAttribPointer using zig-gamedev zopengl library 20 messages
New User Answered 0.13.x
why am i getting different values 16 messages
0.14.x Answered
Is there a way display errors in a more compact way? 7 messages
New User
how to add to [][]const u8 19 messages
MacOS Sonoma - unable to find libSystem system library (0.13.0) 3 messages
Build System Compiler Answered 0.13.x
Conditionally supplying default value 26 messages
Importing raylib-zig 134 messages
New User Answered 0.13.x
why is this the same 2 messages
Answered
Printing two different things? 10 messages
Answered
Can I run the zig compiler from a running (not comptime) zig program? 13 messages
Problems Linking WGPU 24 messages
Help dealing with an OutOfMemory error 50 messages
Standard Library New User 0.13.x
Types not matching? 3 messages
Answered
"FileNotFound" on cache directory during build 15 messages
[solved] Error: expected Type found enum_literal 8 messages
Answered
i found a failing code in zig docs 9 messages
Answered
what is the difference between these two structs? 3 messages
New User 0.13.x
How to ensure that a step is run after some particular step 21 messages
Build System 0.14.x Answered
build.zig.zon hash mismatch 5 messages
Answered
best way to cast slice's pointer to array pointer 3 messages
Answered
how do i assign a tagged union to a field of a struct 6 messages