Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #54.9K
Anyone here can help me with Boyer Moore algorithm? Im study lots of code and example for couples of hour already and yet i cant figure it out how does the Boyer Moore algorithm works.. It really too complex for me .Can anyone give me a sample code or perhaps … |
|
[code]void inputGrid(string inputI, unsigned __int64 &i,int t) { do { t=1; getline(cin,inputI); i=atol(inputI.c_str()); if(i<=1) { cout<<"Please key in only the number that suitable for the grid."<<endl; t=0; } } while(!t); } [/code] //this is the function i used to solve the problem when i key in char //to an integer...but … |