Skip to main content
VKuma.10
Associate II
April 25, 2021
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
April 25, 2021

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
April 25, 2021

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
April 25, 2021

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