In addition, it isn't that hard to create a simple main() program to test things:
Code:
#include <set>
#include <iostream>

using namespace std;

int main()
{
    set<int> IntSet;
    IntSet.insert( -111 );
    set<int>::iterator it = IntSet.find(-111);
    if ( it != IntSet.end() )
          cout << "I found -111";
    else
          cout << "I didn't find -111";
}
Does this work?

Regards,

Paul McKenzie