15 lines
304 B
C++
15 lines
304 B
C++
#ifndef S0028_FIND_THE_INDEX_OF_THE_FIRST_OCCURRENCE_IN_A_STRING_HPP
|
|
#define S0028_FIND_THE_INDEX_OF_THE_FIRST_OCCURRENCE_IN_A_STRING_HPP
|
|
|
|
#include <string>
|
|
|
|
using namespace std;
|
|
|
|
class S0028 {
|
|
public:
|
|
void getNext(int* next, const string& s);
|
|
int strStr(string haystack, string needle);
|
|
};
|
|
|
|
#endif
|