Pattern matching1 pattern matching pattern matching 1.소스 // C++ program to implement wildcard // pattern matching algorithm #include #include #include using namespace std; // Function that matches input str with // given wildcard pattern bool strmatch( char str[], char pattern[], int n , int m ) { // empty pattern can only match with // empty string if (m == 0) return (n == 0); // lookup table for storing results of // subproblem.. 2016. 8. 3. 이전 1 다음