Thanks for posting this! It’s nice to have a text that approaches C from the bottom up with modern idioms front and center. It’s helping me shave off cruft acquired when I first learned the language.
Good chances are that the multibyte encoding on a modern platform is UTF-8
…. Life on legacy platforms might be more difficult, see here for an overview
for the Windows platform.
I’m kind of surprised that a string “class” was never added like in C++, something like struct string { char* sz; size_t nLength; }
I think namespaces could also be retroactively added reasonably cleanly while still keeping it from turning into C++.
Thanks for posting this! It’s nice to have a text that approaches C from the bottom up with modern idioms front and center. It’s helping me shave off cruft acquired when I first learned the language.
What happened to page 159 “Level 3” stuff?
Nice.
I’m kind of surprised that a string “class” was never added like in C++, something like struct string { char* sz; size_t nLength; }
I think namespaces could also be retroactively added reasonably cleanly while still keeping it from turning into C++.