title: Check substring exists in a string in C
body: <p>I'm trying to check whether a string contains a substring in C like:</p>
  
  <pre><code>char *sent = "this is my sample example";
  char *word = "sample";
  if (/* sentence contains word */) {
      /* .. */
  }
  </code></pre>
  
  <p>What is something to use instead of <code>string::find</code> in C++?</p>