📄 matchstring.cpp
字号:
// MatchString.cpp : Defines the entry point for the console application.
//
#include <iostream>
#include "MorrisPratt.h"
#include "withDFA.h"
#include "KarpRabin.h"
#include "BoyerMoore.h"
int main(int argc, char* argv[])
{
std::cout << "MorrisPratt test:\n";
MorrisPratt::test();
// std::cout << "DFA test:\n";
// withDFA::test();
std::cout << "Karp-Rabin test:\n";
KarpRabin::test();
std::cout << "Boyer-Moore test:\n";
BoyerMoore::test();
return 1;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -