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
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 moving eith

write a C rpogram that can display the transpose form of a ciphertext matrix.Prompt users to provide row and coloumn number of matrix.Then user will input plaintext and the program


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. The area under a curve between two points can b

Write a recursive function recursiveMin that takes an integer array, a starting subscript and an ending subscript as arguments, and returns the smallest element in the array. The f

Program is to check whether the string entered is a palindrome or not: Program is to check whether the string entered is a palindrome or not invoke function from main int p

develop an algorithm using pseudocode for computing cos(x) and sin(x). use a sentinel controlled while loop. use the series definition of e^+-jx

how to write the code for operation research

Classify computer system according to capacity. How they are different from computers according to the classification of technology. Provide comparative study also.

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