Skip to main content
VKuma.10
Associate II
Question

Unable to print the integer usinh utoa

Hi

I'm trying to print the integer by using utoa and wildcard but the numbers are not displayed and the field is blank

​Please let me know what can I do

​

​

​

This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru

Is the problem with utoa() not generating the string, or the inability to display a correct string?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
VKuma.10
VKuma.10Author
Associate II

It is not printing anything i think its problem with utoa()

it is how I have used utoa() function

Unicode::utoa(FrequencyStruct.period, mBuf, 4, 10);

periodValueTxt.setWildcard(mBuf);

Tesla DeLorean
Guru

>>It is not printing anything i think its problem with utoa()

Perhaps use a debugger and make an actual determination.

Is the buffer deep enough to hold potential outputs with NUL termination?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..