mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-08 11:20:46 -05:00
commit
37326e3da2
3 changed files with 14 additions and 0 deletions
|
@ -460,6 +460,10 @@ const exercises = [_]Exercise{
|
|||
// .output = "ABCDEF",
|
||||
// .@"async" = true,
|
||||
// },
|
||||
.{
|
||||
.main_file = "999_the_end.zig",
|
||||
.output = "This 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.",
|
||||
},
|
||||
};
|
||||
|
||||
/// Check the zig version to make sure it can compile the examples properly.
|
||||
|
|
8
exercises/999_the_end.zig
Normal file
8
exercises/999_the_end.zig
Normal file
|
@ -0,0 +1,8 @@
|
|||
// This is the end for now!
|
||||
// More exercises will follow...
|
||||
|
||||
const print = @import("std").debug.print;
|
||||
|
||||
pub fn main() void {
|
||||
print("\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.\n", .{});
|
||||
}
|
2
patches/patches/999_the_end.patch
Normal file
2
patches/patches/999_the_end.patch
Normal file
|
@ -0,0 +1,2 @@
|
|||
8a9
|
||||
> // gollum's line ;-)
|
Loading…
Reference in a new issue