summaryrefslogtreecommitdiffstatshomepage
AgeCommit message (Collapse)Author
2021-02-12Merge pull request #9 from palash25/typo2Dave Gauer
exercise/25 fix typo
2021-02-12exercise/25 fix typoPalash Nigam
2021-02-11Merge pull request #7 from palash25/typoDave Gauer
exercise/21: fix typo
2021-02-12exercise/21: fix typoPalash Nigam
2021-02-10Added string specifier in format strings (#3)Dave Gauer
This is now required in current versions of Zig.
2021-02-10Merge pull request #3 from Joefish/06_print_specifierDave Gauer
Added string specifier in Ex 06
2021-02-10Merge branch 'main' of github.com:ratfactor/ziglings into mainDave Gauer
2021-02-10Removed incorrect explanation of assignment error (#1)Dave Gauer
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-10Added string specifier in Ex 06Joseph-Eugene Winzer
std.fmt.format does not take strings without a string specifier since zig 0.8.0.
2021-02-10Ex 22 spelling errorDave Gauer
I never make mistakes with apostrophes'es', so I dont' know what happened here.
2021-02-10Improved 02 comment about imports being constDave Gauer
2021-02-09Added Quiz 5 for pointers. Elephants!!!Dave Gauer
2021-02-09Moved exercises to exercises because exercisesDave Gauer
2021-02-08Added Ex. 38-43 for pointers, updated READMEDave Gauer
Added topics beyond the language basics from ziglearn.org to the README. That's a lot of exercises. I'd like to keep it under 100, though!
2021-02-07Consistent instructions and examplesDave Gauer
I started off with "hints" that required the poor student to piece together the information from incomplete bits. A complete example is like a picture that is worth 1000 words and far clearer.
2021-02-06Added ex. 37,38 structsDave Gauer
2021-02-06Add ex 35,36 enums; updated READMEDave Gauer
I'm changing the order of some more topics. Trying to explain the value of pointers when we're mostly dealing with stack-sized values like integers feels convoluted. So I'm starting with enums (which also has a nice segue from an earlier "switch" exercise). Then structs. Then unions (just in keeping with the order of these items on ziglearn.org) and THEN pointers and multi-pointers and slices.
2021-02-03Inserted ex. 32 unreachable, added quiz4.Dave Gauer
2021-02-03Fixed README instructionsDave Gauer
2021-01-31Adding exs 27-32Dave Gauer
2021-01-30Added ex 21-26 for error handlingDave Gauer
2021-01-22Added ex 19,20 functions and pop quizDave Gauer
2021-01-21Hinting return type rather than making 'em guess.Dave Gauer
2021-01-19Added Ex. 18 functionsDave Gauer
2021-01-18added quiz 2Dave Gauer
2021-01-18Ex 16 oops, forgot to unfix it. :-)Dave Gauer
2021-01-18Added ex 15,16 for loopsDave Gauer
2021-01-10Added Ex 11-14: while loopsDave Gauer
2021-01-08Added Ex 9,10 for IfDave Gauer
2021-01-06Added first quizDave Gauer
2021-01-05Added Exs. 6,7 stringsDave Gauer
2021-01-04Added Ex. 5, array opsDave Gauer
2021-01-03Added Ex. 4 arraysDave Gauer
2021-01-03Add exercise 3, exercise num param for scriptDave Gauer
2021-01-03Added Ex. 2, polished script, added LICENSEDave Gauer
2020-12-23Initial commit with readme, script, and hello worldDave Gauer
Absolutely minimum viable stuff.