wsprintf 是windows api,不支持浮点输出,swprintf是c库函数,用法和sprintf一样(格式都一样),只不过针对的是宽字符。 swprintf(FPSString, L"%f", FPS); //正确.
確定! 回上一頁