0_0_19484610_22789.cpp: In function 'int main()':
0_0_19484610_22789.cpp:67:14: error: request for member 'add_pattern' in 'trie', which is of non-class type 'StringPattern()'
trie.add_pattern(pattern);
^
0_0_19484610_22789.cpp:71:22: error: request for member 'match' in 'trie', which is of non-class type 'StringPattern()'
cout << trie.match(buffer) << endl;
^
|