Ex 001 remove ancient script reference + wording

This commit is contained in:
Dave Gauer 2023-05-04 19:04:58 -04:00
parent e2f3a5e519
commit 8a3d722a33

View file

@ -1,18 +1,18 @@
// //
// Oh no! This program is supposed to print "Hello world!" but it needs // Oh no, this is supposed to print "Hello world!" but it needs
// your help! // your help.
// //
// Zig functions are private by default but the main() function
// should be public.
// //
// Zig functions are private by default but the main() function should // A function is made public with the "pub" statement like so:
// be public.
//
// A function is declared public with the "pub" statement like so:
// //
// pub fn foo() void { // pub fn foo() void {
// ... // ...
// } // }
// //
// Try to fix the program and run `ziglings` to see if it works! // Perhaps knowing this well help solve the errors we're getting
// with this little program?
// //
const std = @import("std"); const std = @import("std");