External iterator and an internal iterator, C/C++ Programming

What is the difference between an external iterator and an internal iterator?

Ans) An internal iterator is executed with member functions of the class that has items to step through. .An external iterator is executed as a separate class that can be "attach" to the object that has items to step through. .An external iterator has the benefit that many difference iterators can be active concurrently on the similar object.

 

 

Posted Date: 4/8/2013 5:54:44 AM | Location : United States







Related Discussions:- External iterator and an internal iterator, Assignment Help, Ask Question on External iterator and an internal iterator, Get Answer, Expert's Help, External iterator and an internal iterator Discussions

Write discussion on External iterator and an internal iterator
Your posts are moderated
Related Questions
A virtual function permits derived classes to replace the implementation given by the base class. The compiler makes sure the replacement is always known as whenever the object in

A palindrome is a string that reads the same from both the ends. Given a string S convert it to a palindrome by doing character replacement. Your task is to convert S to palindrome

defining software crisis As the technology changes rapidly the requirement for the users' change, to part the growing demand of the user for trade,  business, and personal

how to see inbox details of a particular email adress on console

#At a shop of marbles, packs of marbles are prepared. Packets are named A, B, C, D, E …….. All packets are kept in a VERTICAL SHELF in random order. Any numbers of packets with the

solution of problem based on poiter

There are ''''n'''' ants on a ''''n+1'''' length rod. The ants are numbered from 1 to n and are initially placed at positions starting from position 1 till position n. They are mov


Define the Classification of Operators in C Language? Depending on the function performed the operator can be classified as 1. Arithmetic Operator 2. Logical Operator 3. Inc

if age of ram,shayam and ajay are input through keyboard,write a program to determine the youngest of the three.