S
sathya
I was going through an Boyer-Moore-Horspool pattern match, I saw a
array inside a array, like the below,
skip[pat ] = patlen - i - 1;
The array is decleared as
int skip[UCHAR_MAX+1];
unsigned char *pat;
I have seen function call inside the array such as calling strlen()
inside a array, but the above one is
strange and new to me as a beginner. Can anybody spend a little time to
explain the above.
BTW, if this a FAQ please refer the question number.
--
"Combination is the heart of chess"
A.Alekhine
Mail to:
sathyashrayan AT gmail DOT com
(AT = @ and DOT = .)
array inside a array, like the below,
skip[pat ] = patlen - i - 1;
The array is decleared as
int skip[UCHAR_MAX+1];
unsigned char *pat;
I have seen function call inside the array such as calling strlen()
inside a array, but the above one is
strange and new to me as a beginner. Can anybody spend a little time to
explain the above.
BTW, if this a FAQ please refer the question number.
--
"Combination is the heart of chess"
A.Alekhine
Mail to:
sathyashrayan AT gmail DOT com
(AT = @ and DOT = .)