mirror of
https://github.com/ratfactor/ziglings
synced 2024-05-25 07:46:04 +02:00
the_end function added
This commit is contained in:
parent
fa39ff7efb
commit
fa2a830ba2
|
@ -460,6 +460,10 @@ const exercises = [_]Exercise{
|
||||||
// .output = "ABCDEF",
|
// .output = "ABCDEF",
|
||||||
// .@"async" = true,
|
// .@"async" = true,
|
||||||
// },
|
// },
|
||||||
|
.{
|
||||||
|
.main_file = "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.
|
/// Check the zig version to make sure it can compile the examples properly.
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
// This is the end for now!
|
||||||
|
// More exercises will follow...
|
||||||
|
|
||||||
|
pub fn main() void {
|
||||||
|
@import("std").debug.print("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.", .{});
|
||||||
|
}
|
Loading…
Reference in New Issue