pair0.cpp

We use cookies. Read the Privacy and Cookie Policy

pair0.cpp

#include ‹stl.h›

#include ‹iostream.h›

int main() {

 pair‹int, int› p = make_pair(1, 10);

 cout ‹‹ "p.first = " ‹‹ p.first ‹‹ ", p.second = " ‹‹ p.second ‹‹ endl;

 return 0;

}