zig-help

21196 threads · Page 202 of 424

Using @call to call member function of struct 3 messages
Answered
Pipe child process's stdout into a buffer 7 messages
Learn Zig or C 137 messages
Run 'test --summary' 7 messages
Answered
Building executables from subdirectories 7 messages
Am I dangling? Strange behavior when c_ulong is converted to slice. 33 messages
New User 0.13.x
`zig fmt` is collapsing braces in unintuitive ways 9 messages
Build System
anytype and coercion 33 messages
Answered
Tagged union which contains itself? 11 messages
New User Answered 0.13.x
Best way to "reset"/clear a BoundedArray 2 messages
Build C and Raylib project with Zig 19 messages
Build System New User Answered
[Solved] Memory error when export/import Json and custom struct 12 messages
Standard Library Answered 0.13.x
Is that the right way to check the extension of a path? 4 messages
any builtin/std way to slice integers? 9 messages
get return from thread 6 messages
Expected type *array_list but found *const array_list 18 messages
Weird behavior in ArrayList (0.13.0) 10 messages
[solved] How to join string++char++string at comptime? 20 messages
Answered
VTables and dynamic dispatching 7 messages
Check that a type is a number? 2 messages
Answered
casting struts 7 messages
Answered 0.12.x
Is there a way to work with non-homogeneous collections? 48 messages
Answered
AOC 2023 day 3 part 2 12 messages
[solved] Help fixing an old file glob function. Missing std.fs.cwd().openIterableDir 32 messages
Answered
how to iterate a .next() 7 messages
Answered
Why isn't it possible to make an array with the len of two other arrays? 36 messages
What's the simplest way to convert a character to a string? 4 messages
Answered
zig cc: any way to show the default target triple? 12 messages
Tips to make temporarily commenting out code for debugging purposes faster? 60 messages
`std.process.Child` leads to panic? 24 messages
[json] stringify enum as it's integer representation 23 messages
Is it possible to define additional namespaced functions for aliased types? 2 messages
Answered
[solved] Simplifying code for an optional value 10 messages
Answered
[solved] How to get the N-to-last item of a slice/array? 21 messages
Answered
Learning Zig by creating a parser 15 messages
New User Answered 0.13.x
Passing a generated `LazyPath` to `addCSourceFiles` 19 messages
Is there a simpler way for formatting? 3 messages
0.13.x
windows.h not found when cross compiling 2 messages
Deduping a list 48 messages
Getting pointer of returned value (@constCast) 6 messages
Answered
From `u128` to `u48` and `u80` 11 messages
Answered
How does one get the size of an enum? 7 messages
Segfault 4 messages
Custom allocator for C++ code? 44 messages
Answered
Is std.time.Timer legally copyable 3 messages
Standard Library
Write a tagged union without specifying a separate enum? 3 messages
New User Answered 0.13.x
[solved] Merge two enums into one type. Possible? 132 messages
Answered
How can I improve string concatenation? 28 messages
Standard Library Answered 0.13.x
Cast []const u8 to [:0]const u8 8 messages
New User Answered
anonymous functions 14 messages
Answered