보이어무어를 실제 임베디드 환경에서 사용할일이 생김... 그나마 제일간단하고 제일 코드량이 적으면서 잘돌아가는 소스를 인터넷에서 받아서 테스트완료한 버젼이다. 예제소스 #include #include #include #define NO_OF_CHARS 256 // A utility function to get maximum of two integers static int max (int a, int b) { return (a > b)? a: b; } // The preprocessing function for Boyer Moore's bad character heuristic static void badCharHeuristic( char *str, int size, int badchar[NO_OF_CHA..