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.

在DSP中如何将十进制数转换至字符串输出?



在我的OLED显示程序中,字符串显示函数如下

OLED_P8x16Str(0,1,"1234");

现在我需要将“1234”替换为一个十进制变量,请问如何编写程序将十进制变量转换为带“ ”的字符串变量供程序调用?