I will never understand why printf() doesn't support printing binary when you can print hex and octal. It seems like programmer back in the 70s would have need binary as well.
Anyone who responds with some alt printf library gets a block. It's rhetorical question. I'm not looking for an alt method.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.gamedev.place/users/grumpygamer/statuses/115567814317884727 on your instance and quote it. (Note that quoting is not supported in Mastodon.)