zig-help

21196 threads · Page 221 of 424

Auto generate pch files for c++ project 6 messages
Reading binary file. Convert bytes to Integer, String, etc 20 messages
Getting " error: root struct of file 'cimport' has no member named 'IP_ADAPTER_ADDRESSES'" 3 messages
New User 0.12.x
ZLS not working 15 messages
Answered 0.12.x
Vector casting 2 messages
Answered 0.12.x
what is the point of `@ptrFromInt`? 3 messages
New User Standard Library Answered 0.12.x
Is there a way to differentiate type aliases at comptime? 10 messages
get absolute path string from relative path string 60 messages
Compiler 0.13.x
Trying to use http.client.fetch to do a POST request, getting GET is not allowed 68 messages
Standard Library New User 0.13.x
When importing a c library, what is the benefity to a binding/wrapper over just calling c functions? 15 messages
Answered
Output from a runtime-loaded library is jumbled up 14 messages
setting field of struct based on name 4 messages
Answered
ArrayListUnmanaged and N numbers of item (not known before) 11 messages
Standard Library New User
How to get faster zig debug code? 71 messages
Answered
How to convert an array to `anyopaque`? 15 messages
Answered 0.13.x
Unable to resolve comptime value on some GLEW functions 2 messages
Answered
Compiling C Code Using Zig Build System 2 messages
Build System 0.12.x
Define function type 11 messages
Answered
ArrayListUnmanaged and append what do I pass to *Self ? 11 messages
New User
cgo crosscompile gets error: unable to create compilation: AccessDenied 4 messages
What's a [*c]struct_stat and how to create and allocate one statically? 8 messages
Answered
VLA/variable sized structs in Zig 4 messages
Tips for debugging the zig compiler? 10 messages
Compiler 0.12.x
How to handle tests in modules 4 messages
How would you deal with a bindings for fn that returns? 9 messages
Answered
Access tuple at comptime 25 messages
Answered
How do I find the source code of keywords, such as `defer`? 5 messages
Can someone help me figure why Zig 0.13-dev is failing to build this project 17 messages
Answered
Zig Strip Flag 2 messages
Build System 0.12.x
Zig Build System, and OS interaction 57 messages
Answered
How to convert from [256:0]u8 to [*c]u8 76 messages
New User 0.12.x
Can I build a GUI for my Zig app using C++? 2 messages
Answered
Calculating Pi via Monte Carlo is about the same speed as Python 3.12 6 messages
New User
std.os.linux question (open/ftruncate) 13 messages
Answered 0.13.x
Just updated to 0.12.0 and now my build is broken 30 messages
using anytype in structure 5 messages
read/write file not working as expected 15 messages
Could someone explain how to convert zig struct to c struct? 9 messages
Answered
@src of caller 29 messages
Standard Library Answered
My pointer is overwritten for unknown reason 14 messages
New User Answered 0.12.x
Build stage3 with LLVM with zig2 without LLVM extension 5 messages
Compiler 0.13.x
Want some feedback on how to parse commands over the network 14 messages
New User 0.13.x
Handling pointer alignment when reading a file format 6 messages
Answered
Finding Source of Build error 6 messages
Standard Library Answered
Switch(err) weirdness 28 messages
Compiler Answered
function in function 14 messages
Answered
Baby steps to compiling asm with zig 21 messages
Examples of wgpu in Zig? 14 messages
Answered
std.ArrayList with initial capacity, unexpected behaviour 16 messages
Answered
Stringify a structure to JSON that contains std.ArrayList, how to ?. 160 messages
New User