Why would you need to use a pointer for this programming task?
I think a recursive function will do fine here.
It's only a small range you have to translate, so a recursive function will be the easiest in my opinion

Also: use arrays to store the numbers (in their expanded form, like: "one", "two", "three", ... , "ten", "twenty", "forty", etc. ...)
Last edited by tux4life; Jul 14th, 2009 at 10:02 am.
Reputation Points: 2125
Solved Threads: 243
Postaholic
Offline 2,105 posts
since Feb 2009