In addition, it isn't that hard to create a simple main() program to test things:
Does this work?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"; }
Regards,
Paul McKenzie




Reply With Quote