!HELP! How to save incoming char as integer ?

firatdk33:
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 ?

If you think about the problem for a moment, there's a limit to the number of digits you need to store.
Why not use that limit to allow you to size your buffer?