Codecrafter's Challenge: Build a Shell in Zig #4 - The Exit Command

Опубликовано: 24 Май 2026
на канале: Code With Cypert
825
17

Let's tackle a CodeCrafter's challenge! In this video, we're starting on the "Build a Shell" challenge. We'll be tackling this challenge in Zig, and this video is part of a playlist, so make sure to check out the playlist for the entire challenge!

00:00 Introduction
01:07 Implementation
02:10 Switching on Command
03:07 Splitting a String
06:09 HandleExit Function
08:52 Cant Switch on Strings
09:56 String Comparison
12:30 Dealing with Types
13:40 Error Handling
15:38 Ascii Woes

Join me on Codecrafters: https://app.codecrafters.io/join?via=...