zig-help

21196 threads · Page 292 of 424

What is the best way in Zig to check if a host is alive? 44 messages
Merging multiple ?type checks in an if-conditional 2 messages
New User
slice documentation 51 messages
New User
Comptime declarations? 7 messages
Answered
memory representation of optionals 77 messages
How to test functionalities uses `std.net.Stream`? 91 messages
Is it possible to automatically find unused code in a Zig project? 8 messages
Answered
Returning a :0 slice doesn't work 10 messages
Answered
Zig Reverse Slice 15 messages
How do i make integer formatting not put the + number sign? 11 messages
How to debug zig in windows? 21 messages
Answered
How do I get the resolved zig lib dir in build.zig? 11 messages
Answered 0.13.x
Help calling winapi function RegQueryValueExA in zig 28 messages
How do force the type of string slice to be []u8 instead of *const [N]u8 ? 11 messages
Answered
Windows wants initWithAllocator 43 messages
Compiler 0.11.x New User
Deadlock while printing 3 messages
0.11.x New User
pass array from C 3 messages
Answered
When is it useful to take the address of a parameter in Zig? 5 messages
Answered
usize to u8 5 messages
Answered
What's the difference between this two [][]const u8 initializations? 6 messages
Is there an example of why you'd want a global variable inside of an enum? 5 messages
New User 0.13.x
How do I write to allocated buffer? 2 messages
how save arraylist of arraylists on disk ? 39 messages
Why does the general purpose allocator not free all this memory? 11 messages
Standard Library New User Answered
replace substring in string and truncating string to new size 40 messages
Cross-platform mmap() 19 messages
Is there optional type in Zig? 29 messages
is it possible to coerce a slice to a sentinel slice? 23 messages
when I try to import c header, zig compile failed 23 messages
How can I walk `std.zig.Ast` and find strings? 10 messages
Answered
You can't compare integers and floats? 40 messages
Answered
can't build zls 14 messages
Are Zig libraries source-only? 37 messages
New User Answered
How do you use "zig translate-c" on code that uses c libraries? 2 messages
How do I build every release target with 'zig build'? 26 messages
Converting between fixed size arrays and slices 6 messages
Unknown command: `zig init-exe` 4 messages
New User
md5 hash. 2 messages
Is there a way to have private variables within a struct? 20 messages
New User
expected EOF in build.zig.zon 4 messages
How to specify `-undefined suppress` 6 messages
Callback registrator struct. 6 messages
0.11.0 Windows backtrace not symbolizing 17 messages
Answered
std.net.StreamServer.Options no field named 'force_nonblocking' 103 messages
How to accept Writer/Reader 23 messages
Standard Library 0.11.x New User
ArrayList Reader interface 12 messages
Standard Library New User
Syntax for @Vector dot product? 34 messages
Answered
Extern Struct question 43 messages
Answered
access optimize mode 6 messages
New User Answered
Compare slice with array 48 messages