devinheitmueller
Thursday, July 19, 2007
WTF?
unsigned long d;
int i;
d=0;
for(i = 1; i < (int)strlen(s); i++) d += (unsigned long)s[i] * (unsigned long)s[i - 1];
Newer Post
Older Post
Home