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.

[参考译文] 编译器/TMS320C6657:Sprintf有什么问题?

Guru**** 2553450 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/585796/compiler-tms320c6657-what-s-wrong-with-sprintf

部件号:TMS320C6657

工具/软件:TI C/C++编译器

不起作用。  已尝试所有级别的“需要printf/scanf支持级别”,该函数将生成gibberish。

示例:

char cbuff [32];

Sprintf (cbuff,"这是一项测试");

cbuff的内容:垃圾