Skip to content
ZigTut.Org
Search
Ctrl
K
Cancel
GitHub
Select theme
Dark
Light
Auto
Home
Getting Started
Welcome
Installation
Hello World
Running Tests
Language
Assignment
Arrays
If Expressions
While loops
For loops
Functions
Defer
Errors
Switch
Runtime Safety
Pointers
Pointer Sized Integers
Many-item Pointers
Slices
Enums
Structs
Unions
Integer Rules
Floats
Labelled Blocks
Labelled Loops
Loops as Expressions
Optionals
Comptime
Payload Captures
Inline Loops
Opaque
Anonymous Structs
Sentinel Termination
Vectors
Imports
Standard Library
Allocators
ArrayList
Filesystem
Readers and Writers
Formatting
JSON
Random Numbers
Crypto
Threads
Hash Maps
Stacks
Sorting
Iterators
Formatting specifiers
Advanced Formatting
Build System
Build Modes
Emitting an Executable
Cross-compilation
Zig Build
Generating Documentation
Working with C
ABI
C Primitive Types
Calling conventions
Extern Structs
Alignment
Packed Structs
Bit Aligned Pointers
C Pointers
Translate-C
cImport
Linking libc
Zig cc, Zig c++
GitHub
Select theme
Dark
Light
Auto
Home
Hello!
Welcome
Visit official Zig site