Commit graph

109 commits

Author SHA1 Message Date
Dave Gauer
2bdacd35c1 Added string specifier in format strings (#3)
This is now required in current versions of Zig.
2021-02-10 22:13:22 -05:00
Dave Gauer
56ba5d7fda Merge pull request #3 from Joefish/06_print_specifier
Added string specifier in Ex 06
2021-02-10 22:08:16 -05:00
Dave Gauer
311fe0ea3c Merge branch 'main' of github.com:ratfactor/ziglings into main 2021-02-10 21:47:21 -05:00
Dave Gauer
5b47e8ebe6 Removed incorrect explanation of assignment error (#1)
It really has nothing to do with the if/else expression. The peer
types are being resolved correctly.  The same error can be produced
with something as simple as:

    var foo = 5;
2021-02-10 21:44:11 -05:00
Joseph-Eugene Winzer
f1632554da Added string specifier in Ex 06
std.fmt.format does not take strings without a string specifier since
zig 0.8.0.
2021-02-10 18:47:12 +01:00
Dave Gauer
e382b01976 Ex 22 spelling error
I never make mistakes with apostrophes'es', so I dont' know what happened here.
2021-02-10 09:35:16 -05:00
Dave Gauer
82a1abe09b Improved 02 comment about imports being const 2021-02-10 09:27:43 -05:00
Dave Gauer
961cf22b88 Added Quiz 5 for pointers. Elephants!!! 2021-02-09 20:15:45 -05:00
Dave Gauer
55ad7c32f2 Moved exercises to exercises because exercises 2021-02-09 18:36:57 -05:00