In this program, we will implement a function (just like atoi()) that will convert a given integer value as string into an integer value.C program to convert ascii to integer// C program to convert ascii to int
... and in the implementation of 'sscanf()' I assume you use 'myAtoi()' to convert a string into an integer - well, that's a smart move: delegation is generally a good approach to make problems go away. -- <mailto:dietmar _kuehl@yahoo.co m> <http://www.dietmar-kuehl.de/> ...
implementation you used. [color=blue] > I feel like everything I once knew > has gone![/color] The problem is that you learnt a load of vendor specific extensions without learning that they are *not* part of the C language. Had you learnt standard C you would not have this problem....