Moved exercises to exercises because exercises
This commit is contained in:
parent
cf0920de31
commit
55ad7c32f2
45 changed files with 3 additions and 3 deletions
README.md
exercises
01_hello.zig02_std.zig03_assignment.zig04_arrays.zig05_arrays2.zig06_strings.zig07_strings2.zig08_quiz.zig09_if.zig10_if2.zig11_while.zig12_while2.zig13_while3.zig14_while4.zig15_for.zig16_for2.zig17_quiz2.zig18_functions.zig19_functions2.zig20_quiz3.zig21_errors.zig22_errors2.zig23_errors3.zig24_errors4.zig25_errors5.zig26_hello2.zig27_defer.zig28_defer2.zig29_errdefer.zig30_switch.zig31_switch2.zig32_unreachable.zig33_iferror.zig34_quiz4.zig35_enums.zig36_enums2.zig37_structs.zig38_structs2.zig39_pointers.zig40_pointers2.zig41_pointers3.zig42_pointers4.zig43_pointers5.zig
ziglings
|
@ -1,6 +1,6 @@
|
|||
# ziglings
|
||||
|
||||
Welcome to `ziglings`. This project contains a series of incomplete exercises.
|
||||
Welcome to `ziglings`! This project contains a series of incomplete exercises.
|
||||
By completing the exercises, you learn how to read and write
|
||||
[Zig](https://ziglang.org/)
|
||||
code.
|
||||
|
@ -55,7 +55,7 @@ If you can't (or don't want to) use the script, you can manually verify each
|
|||
exercise with the Zig compiler:
|
||||
|
||||
```bash
|
||||
zig run 01_hello.zig
|
||||
zig run exercises/01_hello.zig
|
||||
```
|
||||
|
||||
## TODO
|
||||
|
|
2
ziglings
2
ziglings
|
@ -20,7 +20,7 @@ fmt_off=$( tput sgr0 ) # reset colors/effects
|
|||
exercise_num=0
|
||||
|
||||
function check_it {
|
||||
source_file=$1
|
||||
source_file="exercises/$1"
|
||||
correct_output=$2
|
||||
hint=$3
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue