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

what is the difference between call by reference and call by pointer method?

Explain Register Variable Computers have internal registers, which are used to keep data temporarily, before any operation can be performed. Intermediate results of the calcula

What is constructor or ctor? need help

1.jewels can only be removed for polishing from either end of the necklace. 2.cost of polishing=sitting number*colour value of jewels.

To implement a back account system for new users

Find out the largest torque: A flat belt is taken in use to transmit torque from pulley A to pulley B as shown in figure given below. The radius of each pulley is 50mm and co

I am working on a program that allows a player to play a game against the computer. In this game the player can only chose to draw 1, 2, or 3 toothpicks. How do I make restrictions

The program sorting.cpp contains a main function for testing the operation of several sort algorithms over various data sizes and data set organisations. The program understands

L is a text and can be composed of any of the characters {, }, (, ) , and P, where P will represent the instruction. L will contain single spaced characters where each character