zig-help

21196 threads · Page 400 of 424

Unable to translate __asm macro from C 2 messages
comptime while loop 19 messages
provide log function 2 messages
Standard Library New User
Can zig fmt convert long string literals into multi-line ones? 4 messages
Built in string hashing method a la md5 or sha1 2 messages
Capture error on the if, instead of else. Possible? 18 messages
Concatenating idents 20 messages
import(root) when running tests 5 messages
Reproducible builds 7 messages
Compiler
Is there any difference between comptime T and anytype? 27 messages
New User
How to load a dynamic library 13 messages
Unreachable OOM? 63 messages
const pointer question 15 messages
New User
Convert ArrayList to Null-Terminated Slice 5 messages
New User
Memory Leak when allocating an array 10 messages
casting functions 47 messages
Cant set union to zero 26 messages
How to deal with 'conflicting types' when building this C code? 4 messages
Help with multi threading in zig 23 messages
New User Answered
ptr arithemetic 86 messages
Can't translate C's __extension__ macro 3 messages
Help with compiler error 6 messages
How to import local C header files? 10 messages
HashMap of generics 49 messages
Standard Library
LLVM Error on function pointer inside a packed struct 33 messages
Compiler New User
What is the maximum value for `comptime_int` and `comptime_float`? 33 messages
Compiler
how to call function without fn pointer; by using string 12 messages
Complex Numbers Array as Function Arguments and Return a Complex Number 15 messages
Recommended type for a expandable string? 2 messages
New User
Shorthand for importing values? 13 messages
New User
Need advice on porting a C library incrementally to Zig 22 messages
New User
Why do `Alloc` functions take a `max_size`? 2 messages
Standard Library New User
How Do Slice Literal 5 messages
Is there any way to pass bound functions still? 67 messages
Buffering socket writes using os.sendto 3 messages
Standard Library
Can you identify particular structs returned by typeInfo? 10 messages
Given an ArrayList, what is the easiest way to reverse its order? 13 messages
Don't play multimedia 10 messages
Compiler
Issues with comparing arrays 7 messages
New User
How do I run tests written in C? 8 messages
Tagged union active member access panics on Windows but not Linux 4 messages
Can you use addCSourceFiles with cpp? 3 messages
f32 values recently changed 8 messages
zig type error 27 messages
Standard Library New User
Use build.zig to add custom wasm section? 8 messages
`std.json` Parsing String maps 11 messages
Print statement causes segfault 6 messages
How to debug this segfault? 5 messages
New User Answered
How do I capture a optional error 4 messages
New User
Why is this not working? 8 messages
New User