title: Handling a 'wildcard' character in C++
body: <p>I need a function to identify a pattern string within another string while taking into consideration a wildcard character <code>_</code> </p>
  
  <p>For instance, if the given pattern is <code>f__h</code>, then it should match up to the string <code>catfish</code>.</p>
  
  <p>So essentially, the underscore needs to be able to represent any alphabetical character, but I can't think of a way to go about this. Anyone got some ideas on how to do this?</p>
  
  <p>Thanks.  </p>