#include <iostream> #include <map> using namespace std; int main() { cout << "Hello World" << endl; map<int,int> x; //x[1]= 2; map<int,int>::iterator a = x.end(); --a; if(a == x.end()){ cout << "They matched" << endl; } else { cout << "They missed" << endl; } return 0; }
We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy. Accept Learn more