STL实用入门教程第五讲白板

m_user.insert(make_pair(\,d3)); m_user.insert(make_pair(\,d4)); //查找方法一

Range range=m_user.equal_range(\); USERTABLE m_user;

m_user.insert(make_pair(\,d1)); m_user.insert(make_pair(\,d2)); d4.m_deviceid = 43622344; d4.m_devicename = \; d4.m_devicePopedom = 456; d3.m_deviceid = 3451234; d3.m_devicename = \; d3.m_devicePopedom = 345; d2.m_deviceid = 23622344; d2.m_devicename = \; d2.m_devicePopedom = 234;

for(CIT i = range.first;i!=range.second;i++) { }

cout<

CIT it2 = m_user.find(\); while(it2 != m_user.end()) { }

cout<

CIT it3 = m_user.begin(); while(it3 != m_user.end())

cout<second.m_deviceid<<','

<second.m_devicename.c_str()<<',' <second.m_devicePopedom<<',' <

cout << i->second.m_deviceid<<','

<< i->second.m_devicename.c_str()<<',' <second.m_devicePopedom << endl;

it2++;

{ }

cout<second.m_deviceid<<','

<second.m_devicename.c_str()<<',' <second.m_devicePopedom<<',' <

it3++;

联系客服:779662525#qq.com(#替换为@)