Register
Handmade Hero»Forums»Code»C-String Naming In Handmade Hero
Yuval Dolev
7 posts
C-String Naming In Handmade Hero
10 months, 1 week ago Edited by Yuval Dolev on July 23, 2019, 8:15 p.m. Reason: Initial post
Why does Casey name c-strings and functions that deal with c-strings using 'Z' (for example: "S32FromZ", "WrapZ")?
Simon Anciaux
792 posts
C-String Naming In Handmade Hero
10 months, 1 week ago
You should ask him on the stream, but I suppose it's because they are Zero terminated (there is a byte with value zero at the end of the string).
Yuval Dolev
7 posts
C-String Naming In Handmade Hero
10 months, 1 week ago
Yeah, that makes sense. Thanks!