diff options
| author | Dave Gauer <dave@ratfactor.com> | 2021-02-08 20:35:28 -0500 |
|---|---|---|
| committer | Dave Gauer <dave@ratfactor.com> | 2021-02-08 20:35:28 -0500 |
| commit | cf0920de31e9b5f3c5ba6de19a1b4c8d0c58b907 (patch) | |
| tree | d0c1af19e12e503a6d720b8e8ef487966e4c7d75 /ziglings | |
| parent | adf5ddb27df7f5a22b0b7d3321dfc8bca1e7937a (diff) | |
Added Ex. 38-43 for pointers, updated README
Added topics beyond the language basics from ziglearn.org
to the README. That's a lot of exercises. I'd like to keep
it under 100, though!
Diffstat (limited to 'ziglings')
| -rwxr-xr-x | ziglings | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -70,7 +70,7 @@ function check_it { # I've chosen to explicitly number AND list each exercise rather than rely # on sorting. Though it does mean manually renaming things to remove/insert, -# it's worked out well so far because its explicit and foolproof. +# it's worked out well so far. check_it 01_hello.zig "Hello world" "Note the error: the source file has a hint for fixing 'main'." check_it 02_std.zig "Standard Library" @@ -110,6 +110,11 @@ check_it 35_enums.zig "1 2 3 9 8 7" "This problem seems familiar..." check_it 36_enums2.zig "#0000ff" "I'm feeling blue about this." check_it 37_structs.zig "Your wizard has 90 health and 25 gold." check_it 38_structs2.zig "Character 2 - G:10 H:100 XP:20" +check_it 39_pointers.zig "num1: 5, num2: 5" "Pointers aren't so bad." +check_it 40_pointers2.zig "a: 12, b: 12" +check_it 41_pointers3.zig "foo=6, bar=11" +check_it 42_pointers4.zig "num: 5, more_nums: 1 1 5 1" +check_it 43_pointers5.zig "Wizard (G:10 H:100 XP:20)" echo echo " __ __ _ " |
