?? march.cpp
字號:
// march.cpp : 定義控制臺應(yīng)用程序的入口點(diǎn)。
//
//#include "stdafx.h"
#include <iostream>
#include "StringMarch.h"
#define MAXSTRINGLENGTH 100
#define MAXPATTERNLENGTH 100
int main(int argc, char* argv[])
{
bool run=true;
StringMarch sm;
while(run)
{
char s[MAXSTRINGLENGTH],p[MAXPATTERNLENGTH];
std::cin>>s>>p;
if(sm.initialize(s,p))
std::cout<<sm.march()<<std::endl;
else
break;
}
return 0;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -