class="literal">DB_KEYFIRST</code> 
                
            was used, except that if the key already exists in the database and no
            duplicate sort function has been specified, the
            inserted data item is added as the last of the data
            items for that key.
        </p>
          </li>
        </ul>
      </div>
      <p>For example:</p>
      <a id="cxx_cursor7"></a>
      <pre class="programlisting">#include &lt;db_cxx.h&gt;
#include &lt;string.h&gt;

...

char *key1str =