!HELP! How to save incoming char as integer ?

PaulS:
keep the array NULL terminated

Thanks for the advice, but the user decides that the number of digits, size of the Array.

How can i do it ? Is it possible ?