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
if one won't explicitly call the destructor of a local; then how does he handle the above situation?

Write a program to find the area under the curve y = f(x) between x = a and x = b, integrate y = f(x) between the limits of a and b

What is the real function of class - to export data? No, Real purpose of a class isn't to export data. Instead, it's to provide services. Class provides a way to abstract behav

Virtual Webcam effects - Setup and Source code with Nice User Interface Project Description: I want a similar webcam effects application which can apply effects to webcam fee

t 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 these

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

In the Byteland country a string "s" is said to super ascii string if and only if count of each charecter in the string is equal to its ascci value in the byteland country ascii co

program to write superposition of waves using class and objects

Program to design text styles: Write a C program to design different text style char *fname[] = { "DEFAULT font",                                   "TRIPLEX font",

padovan string for a natural number is defined