Americans, your weeks starting with Sunday tricked me into thinking that tm_wday is 1-based and caused an array out of bounds that is only reproducible once a week. I hope you are happy.
People are really wound up about the friction to output a character they rarely use anyway. But even that friction I think is not that bad. I just thought of another way to do that with print() itself without calling write_string() directly. So, idk
When I learnt that in Jai's print() you escape percents like \% and not like %% (the C way) my first reaction was "Wait, wtf! I wrote compilers before! This is not how it all works!" I went on grepping the docs and instantly found this.
I really like the idea of this one! It's just planks and nails. Seems pretty straightforward. I'd be down to try to build something like this with friends on a weekend. Sound like a really fun activity.
Interesting approach to pass an array as parameter without decaying to a pointer in C++. And the function also gets to know the size of it at compile time.