• sprintf replaces % in string by ERROR
    const char Unitstring[]="%_VOL"; char Buffer[1024]; sprintf(Buffer,"Unit: %s",Unitstring); ends up having "Unit: ERRORVOL" instead of "Unit: %_VOL" in Buffer. I would expect this with sprintf...
  • RTX error using sprintf
    At the moment we are using C51 + a realtime CMX kernel. We are evaluating the ARM platform and are looking how this new platform reacts to parts our existing (little modified) programs in therms of...
  • sprintf
    Hello! I am trying to use sprintf, but get no result (C51, version 5.20). char xdata command [80], i=100; strcpy (command, "Hello!"); // now command contains "Hello!" sprintf (command, "Test %d...
  • SPRINTF()
    I am using SPRINTF() function and it increase the code by 2.3K. Is there any method to reduce the code size. Thanks, Mashood
  • sprintf ()
    Hello! Some time ago I had a problem with sprintf(), it just didn't change the string variable as it should have. The problem somehow vanished, and I had no time to investigate further... Now I...