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

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

Parents
  • sprintf() is a very comprehensive and powerful function and so it comes with a big memory footprint.

    What you could do is identify what part of the sprintf() functionality you actually need and "roll your own" string formatting function.

Reply
  • sprintf() is a very comprehensive and powerful function and so it comes with a big memory footprint.

    What you could do is identify what part of the sprintf() functionality you actually need and "roll your own" string formatting function.

Children