I have numbers taken from a textbox which are TCHAR. I need to use them in the form of integers in a calculation. Is there a function that does this? Thanks
Printable View
I have numbers taken from a textbox which are TCHAR. I need to use them in the form of integers in a calculation. Is there a function that does this? Thanks
Look at the FAQ how to use the atoi function.
If it's TCHAR you'll need the generic function name, which is in the docs for atoi.