[an error occurred while processing this directive]
|
Пишутся довольно быстро, типа:
int StrToInt (char* InputStr)
{
int ReturnValue = 0;
unsigned char StrCount = 0;
for (; StrCount <= strlen(InputStr); StrCount++)
if (isdigit(InputStr[StrCount]))
ReturnValue = 10*ReturnValue + (InputStr[StrCount] - 48);
return ReturnValue;
}//StrToInt
E-mail: info@telesys.ru