You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
077a779f3d
It was confusing to see tail... = undefined in the struct definition and then if (tail == null) later in the exercise - it appears that the mismatch would be the issue - but that's distracting from the real issue: making the value optional! Changing the initial value to null is still correct, but won't distract. The only worry now is that the user will remember the undefined definition from the previous exercise and wonder if that has to be that way...but you can't win them all! |
4 years ago | |
---|---|---|
.. | ||
01_hello.zig | 4 years ago | |
02_std.zig | 4 years ago | |
03_assignment.zig | 4 years ago | |
04_arrays.zig | 4 years ago | |
05_arrays2.zig | 4 years ago | |
06_strings.zig | 4 years ago | |
07_strings2.zig | 4 years ago | |
08_quiz.zig | 4 years ago | |
09_if.zig | 4 years ago | |
10_if2.zig | 4 years ago | |
11_while.zig | 4 years ago | |
12_while2.zig | 4 years ago | |
13_while3.zig | 4 years ago | |
14_while4.zig | 4 years ago | |
15_for.zig | 4 years ago | |
16_for2.zig | 4 years ago | |
17_quiz2.zig | 4 years ago | |
18_functions.zig | 4 years ago | |
19_functions2.zig | 4 years ago | |
20_quiz3.zig | 4 years ago | |
21_errors.zig | 4 years ago | |
22_errors2.zig | 4 years ago | |
23_errors3.zig | 4 years ago | |
24_errors4.zig | 4 years ago | |
25_errors5.zig | 4 years ago | |
26_hello2.zig | 4 years ago | |
27_defer.zig | 4 years ago | |
28_defer2.zig | 4 years ago | |
29_errdefer.zig | 4 years ago | |
30_switch.zig | 4 years ago | |
31_switch2.zig | 4 years ago | |
32_unreachable.zig | 4 years ago | |
33_iferror.zig | 4 years ago | |
34_quiz4.zig | 4 years ago | |
35_enums.zig | 4 years ago | |
36_enums2.zig | 4 years ago | |
37_structs.zig | 4 years ago | |
38_structs2.zig | 4 years ago | |
39_pointers.zig | 4 years ago | |
40_pointers2.zig | 4 years ago | |
41_pointers3.zig | 4 years ago | |
42_pointers4.zig | 4 years ago | |
43_pointers5.zig | 4 years ago | |
44_quiz5.zig | 4 years ago | |
45_optionals.zig | 4 years ago | |
46_optionals2.zig | 4 years ago | |
47_methods.zig | 4 years ago |