zig-help

21196 threads · Page 381 of 424

zls 17 messages
New User
Generating Random Numbers Without a main function. 31 messages
Answered
Zig DES crypto package (equivalent to Go's `crypto/des`) 15 messages
is there a way to parse .zon to struct 10 messages
Answered
Create a slice from a signle u8 9 messages
Create file if does not exist? 3 messages
Include system header but not link to it 4 messages
for loop const qualifier? 4 messages
Answered
Unhelpful error from std.mem: expected []T or *[_]T 5 messages
Answered
Catch from a block 16 messages
Answered
To the C pros - which version should I learn? 14 messages
HTTP Get troubles (Newbie Alert) 256 messages
Standard Library New User
main.zig:14:22: error: expected type '[]main.Vertex', found '*const [3]main.Vertex' 19 messages
scan input to variables in Zig? 2 messages
Random: help me understand it? 6 messages
New User
Having trouble compiling C with zig 14 messages
New User
autocomplete vscode 17 messages
Answered
Bitpacked arraylist? 14 messages
How can I check the endian of the host platform? 6 messages
How can I pass my own state into a callback which takes no such argument? 22 messages
Looking for a help to cross-compile go app that uses librdkafka-dev under the hood with cgo enabled? 8 messages
Why does apple_pie create a client in its server? 7 messages
How to create struct literal type 24 messages
Answered
How to add an std error to a custom union 12 messages
Answered
Code explanation 14 messages
Zig HTTP client readAll() buffer size 11 messages
Standard Library
ArrayList appendslice segfault/hang/integer overflow 7 messages
Standard Library New User Answered
[solved] zlib seems to behave differently in Zig?? 8 messages
I cant figure out why it errors out here (issue is some type stuff i think) 9 messages
New User Answered
[solved] Setting the window size of std.compression.deflate.Compressor 2 messages
Custom std.io.getStdOut() 22 messages
is this a bug with vcpkg linking? 2 messages
Implicit cloning issue 6 messages
New User Answered
Using package manager with library that requires passing in a build step 23 messages
Memory leak on testing.allocator while concatenating paths 8 messages
New User
Is there a way to change the type on a for range loop? 36 messages
best way to make a cli 5 messages
std.json parse arbitrary size hash map 3 messages
Standard Library Answered
Aborted/coredumped in a simple multi-threaded program 39 messages
Answered
macOS universal bins 3 messages
How to compare types for equality at comptime? 10 messages
Flexible array members 12 messages
New User Answered
Declare .h include path in upstream Zig module 13 messages
Standard Library Answered
negated "if optional" - a la Swift's "guard let" 5 messages
Generating a raw binary 2 messages
large c/c++ codebase 16 messages
New User
No unistd.h for macos 10 2 messages
Answered
small debug output 27 messages
Return data from a switch statement with blocks 10 messages
Is it possible to use an external variable? 13 messages
Answered