Y’all I have no idea why C has a reputation for being hard to use correctly, this seems really straightforward…pic.twitter.com/8d0Er7BU29
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Going to disagree on null-termination being legacy. In many places it's safer, & of course simpler. And its a public contract outside C (pathnames etc.).
I don’t think that it’s actually safer, and I know that it’s always less efficient.
Base,len pair is more versatile/powerful (use substr in-place) & may be more efficient, but also subject to error using wrong len.
Assuming the two are wrapped together in one struct, how do you mess it up
That is a good approach to avoid human error but at some point you need to unpack & use the values, & it's easy to accidentally write bar.base but bah.len, etc.
unsubscribe
Will do. Wasn't sure if continuing this would be interesting to you or not.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.