<p>Hi Spyridon,</p><p>Thanks for your answer very much.With the help of "const nfd::Pit::const_iterator iterator = pit.begin();",I can print the Name out.And the code is "std::cout << (*iterator).getName()<<"\n";".But I meet two questions now.The first one is why I can't use "std::cout << (*iterator).getInRecords()<<"\n";" to print InRecords out?And the error is"cannot bind 'std::ostream {aka std::basic_ostream<char>}' Lvalue to 'std::basic_ostream<char>&&'".If I can't do like this.What should I do?The second one is that I find there has no member of 'next' in 'nfd::Pit'.So if I want to iterator the pit::entry,what should I do to let the iterator goes to the next?</p><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: pre-wrap; widows: 1; -webkit-text-stroke-width: 0px;"><i>I am thankful for your guidance and support.</i></pre><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: pre-wrap; widows: 1; -webkit-text-stroke-width: 0px;"><em>sincerely,</em></pre><pre style="color: rgb(0, 0, 0); text-transform: none; line-height: normal; text-indent: 0px; letter-spacing: normal; font-style: normal; font-variant: normal; font-weight: normal; word-spacing: 0px; white-space: pre-wrap; widows: 1; -webkit-text-stroke-width: 0px;"><em>Runtong</em></pre>