If t.size() < s.size() return false,
else if first t.size() chars of s are the same as t, return true,
else check whether you can find t in the characters of s minus the first one.
You'll probably want to use http://cplusplus.com/reference/string/string/substr/