sprintf (str, "a=%d,b=%d\r\n", a, b);. printf(str);. return 0; ... 格式化用法与printf一致,相当于把printf输出的内容放入指定数组中. vsprintf.
確定! 回上一頁