zig-help

21196 threads · Page 269 of 424

Interface Design Questions 52 messages
Answered
Segfault when running a minimal raylib program on Windows 4 messages
0.13.x
Issue Importing C Library 5 messages
0.10.x New User
struct into slice 2 messages
0.13.x
Help with C calling convention args 97 messages
How to iterate over a *const Ini.SectionIterator? 7 messages
Answered
Wrapping bit shift 3 messages
0.11.x New User Answered
How to debug Segmentation faults? 2 messages
if (value != null) vs if (value) |_| 4 messages
Answered 0.13.x
How to get `builtin.TypeId` of an array's elements when only their type is known? 15 messages
Answered
0.12.0 gives undefined behaviour when storing the return value of function in a variable 188 messages
Zig custom printer for structures 3 messages
Zig comptime macto to create helper function 5 messages
Is it possible to unwrap multiple optionals at the same time? 2 messages
New User Answered 0.13.x
Why there is SplitIterator instead of just putting every part into an array 77 messages
Standard Library
Iterating SplitIterator 4 messages
Standard Library 0.11.x 0.13.x
how can we print optional string values 4 messages
Standard Library 0.11.x 0.13.x
Define array with a zero value filling every element?? 3 messages
New User Answered
~~for loop error in docs?~~ (0.11) (or I'm just an idiot) 3 messages
0.11.x New User Answered
How to concat two arrays comptime and discard them for runtime, keeping the resulting array? 18 messages
Answered
Type usage question. 204 messages
Answered
Non-regular sized integers 7 messages
Any way to do a left shift without caring about overflow? 38 messages
Standard Library 0.11.x New User
error: expected type 'u32', found 'error{OutOfMemory}' 28 messages
Standard Library 0.11.x New User Answered
How would one recreate this C code in zig ? 5 messages
New User
problem with WTF-16 encoding 2 messages
Answered
Cross compilation of C++ to mingw - errors with header incompatibility of wchar.h 7 messages
zgui with mach-glfw + vulkan-zig 3 messages
C Pointer cast? 10 messages
Answered
Casting an array of usize [16]usize to *usize in C API 13 messages
error: no field or member function named 'isNativeOs' in 'Build.ResolvedTarget' 8 messages
0.13.x
Build a library and use that library in another sibling zig project without publishing said library? 4 messages
How to make sure a struct field available comptime? 35 messages
Answered
Initialize arraylist with a default value? 11 messages
Answered
Best way to generate Zig code? 4 messages
Compile-time PRNG (pseudo random number generator) 19 messages
Compiler New User 0.13.x
How to glob generated files in build.zig? 2 messages
Standard Library
Zig build vulkan-zig + mach-glfw 6 messages
Answered
Array, pointers vs slice coercing 54 messages
Custom name for types returned by type functions. 10 messages
Cant run zig in Clion 9 messages
Answered
[SOLVED] adding online dependencies 10 messages
New User 0.13.x
How can I use a header from macos frameworks? 12 messages
How to identify all unused globals? fns, types, constants, etc. 6 messages
This function is causing a memory leak I think but don't understand why 30 messages
New User Answered 0.13.x
Avoid “consider using const” 2 messages
Answered
Trying to add icons/fonts with ImGUI, compiler error. 5 messages
Beginner Here: Better way to handle memory in a dynamic programming problem? 4 messages
`inline else` only known enum values, separate case for others 2 messages
Answered 0.13.x
Potential compiler bug?/How could this cause undefined behavior? 17 messages
0.13.x