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