This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

%bu vs. %hu in printf()

I am using simultaneously in the 8bit C51 and 16bit compilers for two related projects.

Am I correct that for 8bit integers,
8-bit compiler uses %bu in printf()
16bit compiler uses %hu
?
Shouldn't they work the same, and accept either modifier?

Thank you.

Parents
  • Has anyone else noticed that this forum requires Microsoft Internet Explorer in order to actually post a reply?

    They wouldn't, because it doesn't. Both Netscape 4 and current Mozilla-based browsers (incl. Firefox) work quite well, too.

    The only feature that is somewhat flaky seems to be the handling for the read "New posting" marker in the thread view --- that requires IE or a very recent Firefox, in my experience.

Reply
  • Has anyone else noticed that this forum requires Microsoft Internet Explorer in order to actually post a reply?

    They wouldn't, because it doesn't. Both Netscape 4 and current Mozilla-based browsers (incl. Firefox) work quite well, too.

    The only feature that is somewhat flaky seems to be the handling for the read "New posting" marker in the thread view --- that requires IE or a very recent Firefox, in my experience.

Children
No data