zig-help

21196 threads · Page 314 of 424

“expected field initializer” for struct 8 messages
Answered
How to write dynamically sized json to a file? 7 messages
Trying to understand comptime expressions 4 messages
New User Compiler Answered 0.13.x
While loop being skipped on iOS 3 messages
New User Answered 0.13.x
A proper way to use literal values in test assertions 16 messages
Max Array size in structures 16 messages
Cast default value from StructField 22 messages
New User Answered 0.13.x
Create struct pointer with optional member pointer set to null by default 5 messages
Answered
STBI image to SDL surface 11 messages
Reserved keywords as struct field names 9 messages
What is transitive failure? 9 messages
zls autocompletion disappeared 5 messages
Answered
When to use “interface” or anytype 8 messages
How do you call a function only if the previous one succeeds? 49 messages
Answered
Convention for private struct fields? 14 messages
Modifying a struct 102 messages
Struct lifetime is a bit confusing after reading the docs about Container & Static Local Variables. 26 messages
New User Answered 0.13.x
Add zig embedded submodule in build.zig 28 messages
Standard Library 0.11.x
Order arrayList? 21 messages
error: expected error union type, found 'error{OutOfMemory,SystemResources,AccessDenied,InvalidExe,F 7 messages
0.11.x
Libc and std.os.system 4 messages
how read a float from binary file? 5 messages
Answered
how to typecast to std.io.Reader ? 15 messages
New User
Where to find zig tarballs from previous days? 8 messages
building forever 6 messages
zig cc error: unknown file type 2 messages
fixedBufferStream 5 messages
Answered
Trying cInclude of a C library 4 messages
is there any builtin function to split an array into small chunks of length n? 3 messages
New User Standard Library Answered 0.13.x
Is this statement `const UI = @import("ui").UI;` a bad idea? 12 messages
Issues linking to a dll 11 messages
0.11.x New User Answered
Porting an SDL Emscripten example 14 messages
New User 0.13.x
unexpected `panic: incorrect alignment` 78 messages
error: 'stdlib.h' file not found when using Emscripten (and SDL) 25 messages
Compiler New User 0.13.x
Compiler bug or?... 18 messages
passing many arguments 7 messages
Answered
and, or, not 4 messages
Answered
[Prob. SOLVED] Struct fn return type is struct's field type? 10 messages
0.11.x New User Answered
Efficient message passing between threads 13 messages
0.11.x
validate comptime struct creation 3 messages
0.11.x
Array pointer negative index 6 messages
zero init multi array 29 messages
Answered
testing optional values 3 messages
Answered
Parsing Array on JSON with Zig 32 messages
Standard Library 0.13.x
I don't Understand the Test Behaviour 12 messages
Compiler says `gpa.allocator()` expects 1 argument even though no argument is supplied on Ziglearn 41 messages
0.11.x New User
Javascript User is too stupid for this language 10 messages
New User Answered 0.13.x
Illegal instruction error when using C library 17 messages
New User 0.13.x
How to parse json into ArrayList of structs 7 messages
Answered
Not sure how to compare structs in a loop 7 messages
Answered