cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to print the integer usinh utoa

VKuma.10
Associate II

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

3 REPLIES 3

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
Up vote any posts that you find helpful, it shows what's working..
VKuma.10
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);

>>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
Up vote any posts that you find helpful, it shows what's working..