zig-help

21196 threads · Page 205 of 424

@offsetOf doesnt work with @Vector nither with Arrays 8 messages
Answered
Help allocating multidimensional arrays 4 messages
New User
Linked Library no longer exist 2 messages
Answered
Can't install zig 30 messages
Answered
Resources for Learning Zig 3 messages
New User Answered 0.12.x
Freeing items in HashMap 150 messages
Init() singleton import 5 messages
Answered
Please help if you ever know how to cross-compile windows on Linux 79 messages
Iterators and while loops 14 messages
New User Answered
Unclear about implicit return 5 messages
WASM Memory Allocation 20 messages
New User Answered
[solved] (tagged union) unable to resolve comptime value 15 messages
how to return c_int from main? 16 messages
[solved] Declaring a variable with a union(enum) type, but specifying the union. Possible? 12 messages
Answered
Start Compiler Contribution 4 messages
[solved] Representing a Node tree, where nodes could contain multiple of themselves (acyclic) 30 messages
Answered
[solved] How to get a []const u8 from an object that already has a format function defined? 15 messages
The Type system is a pain... Am I doing this right? 29 messages
New User Answered
[solved] Creating strings from a "template" (or ziggified alternative) 84 messages
Answered
still not sure about how to use @ptrCast 48 messages
Atomic load/store leads to segfault 11 messages
0.14.x
Question about pointers 39 messages
New User Answered
Can't evaluate comptime FieldEnum() 48 messages
ZLS don't work with dependency from package manager 9 messages
New User Answered 0.13.x
[AVR] Issues implementing division symbols on the compiler 11 messages
Build System 0.14.x Compiler
Log scoping in 0.14.0 2 messages
0.14.x Answered
When to free result from std.fs.path.join()? 9 messages
still not sure the difference between {p} and {*} 26 messages
Return values of allocated structs 14 messages
Answered
Passing writers as function parameters 23 messages
New User Answered
How to create a `AutohashMap(u8, <keyof struct>)` 24 messages
Answered
linking with non-system dynamic library 49 messages
Why does this not work? 23 messages
ZLS - header file not found, but zig compiles 26 messages
Answered
void, void arraymaps 3 messages
Answered
how to replace occurrence of multiple same characters in a string? 83 messages
Answered
[solved] Does break trigger a value increment in a while(true) : id+=1 { ... } loop? 7 messages
Answered
still not sure how to cast using @as 35 messages
How to export member functions of a structure for a library. 17 messages
New User 0.12.x
Linking sqlite.h does require -lsqlite3 when compoiling with gcc but not zig build 15 messages
General QQ: 4 messages
Prasing json issue 106 messages
process a string before returning it 59 messages
Segfaults not generating core files 16 messages
Compiler Answered 0.13.x
How to create distinct types with @Type 15 messages
0.14.x Compiler Answered
"build on save" for vs code extension not working anymore. how do i fix this? 22 messages
0.13.x
can i convert []const u8 to [:0]const u8 32 messages
Answered
The counterpart of Allocator.dupe but like Allocator.create 11 messages
Answered
Generating a list of all integer types at comptime 46 messages
Answered
Packed structs padded? 52 messages
Answered