I tried sprintf() and it worked fine.
Syntax used for wsprintf() and sprintf() is as follows:
Код: Выделить всё
wsprintf(str,TEXT("Square is %lf "),iSquare); // Does not show value
sprintf(str," square is %lf",iSquare); // works okay
Подробнее здесь: https://stackoverflow.com/questions/181 ... ide-string
Мобильная версия