How stupid am I? I just realized that wsprintf does not support float type, as well as double. So, when you write something like this:
wsprintf(str, "%.1f I am float", 2.1);The str would be "f I am float", not "2.1 I am float".
沒有留言:
張貼留言