Hello, thanks for the pervious help in the past. You guys helped me so much
I am trying make a algorithm if it can determine of string1 is a substring of another e.g. is "he" a substring of "hello"
Currently i have done
1 2 3 4 5 6 7 8 9 10 11 12
//string one will be entered here
cout << "enter string 1"<< endl;
cin>>string1;
//same with string two
cout << "enter string 2" << endl;
cin>>string2;
//just to test
cout << string1 << string2 << endl;
}
which is pretty much the basic lol. Dont know where to start or to find the information. I prefer you guys not doing it but telling me where I can get info for this. Thank you