This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如图,在调试中,调用sprintf后会更改其它不相关的变量的值。经实验,当sprintf中不含%变量调用时不会出现此问题。
默认情况下是不支持浮点数的。需要调整下工程的设置。