C++ if end of string has "ed" or "ing" : <p>Working on a Natural Language Processor and I've been struggling. I've been trying to make a way, to see if a word that has been parsed, ends with "ed" or "ing" so I can dictate the context of a verb.</p>

<p>How can I accomplish this?</p>
