mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-13 21:40:46 -05:00
move memory allocation example to 095
This commit is contained in:
parent
f01d9ba92d
commit
f08af9b242
2 changed files with 4 additions and 4 deletions
|
@ -392,10 +392,6 @@ const exercises = [_]Exercise{
|
||||||
.main_file = "076_sentinels.zig",
|
.main_file = "076_sentinels.zig",
|
||||||
.output = "Array:123056. Many-item pointer:123.",
|
.output = "Array:123056. Many-item pointer:123.",
|
||||||
},
|
},
|
||||||
.{
|
|
||||||
.main_file = "076a_memory_allocation.zig",
|
|
||||||
.output = "Running Average: 0.30 0.25 0.20 0.18 0.22",
|
|
||||||
},
|
|
||||||
.{
|
.{
|
||||||
.main_file = "077_sentinels2.zig",
|
.main_file = "077_sentinels2.zig",
|
||||||
.output = "Weird Data!",
|
.output = "Weird Data!",
|
||||||
|
@ -487,6 +483,10 @@ const exercises = [_]Exercise{
|
||||||
.main_file = "095_for_loops.zig",
|
.main_file = "095_for_loops.zig",
|
||||||
.output = "1 2 4 7 8 11 13 14 16 17 19",
|
.output = "1 2 4 7 8 11 13 14 16 17 19",
|
||||||
},
|
},
|
||||||
|
.{
|
||||||
|
.main_file = "096_memory_allocation.zig",
|
||||||
|
.output = "Running Average: 0.30 0.25 0.20 0.18 0.22",
|
||||||
|
},
|
||||||
.{
|
.{
|
||||||
.main_file = "999_the_end.zig",
|
.main_file = "999_the_end.zig",
|
||||||
.output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
|
.output = "\nThis is the end for now!\nWe hope you had fun and were able to learn a lot, so visit us again when the next exercises are available.",
|
||||||
|
|
Loading…
Reference in a new issue