2009年7月8日

Remember: wsprintf does not support float type

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".


沒有留言:

Google Analytics

Powered By Blogger
Get Paint.NET!