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 binary heap ? what is the c code for the implementation for the binary heap

Why should I employ new instead of truthful old malloc()? A: Constructors/destructors, type safety, overridability. Constructors/destructors: unlike malloc(sizeof(Fred)), new

#include #include #include #include #include class Employee { private: char *Name; //Set them as pointers... int IdNumber; char *Department; char *Position; public: voi

write a C program that can display the transpose form of a ciphertext matrix.

Define Bitwise-AND Operator: &:? The bitwise-AND operator (&) compares every bit of its first operand to the corresponding bit of its second operand. If both bits are 1 the mat

Abstract Classes Abstract classes are the classes, which are written just to act as base classes. Consider the following classes.                 class base


Damjibhai and Shamjibhai are two jeweler friends. They decide to play a simple game. The game comprises of removing the jewels for polishing, turn by turn. Once a jewel is removed

Define One's Complement Operator? The one's complement operator, occasionally called the "bitwise NOT" or "bitwise complement" operator produces the bitwise one's complement of

I need CSGO Wallhack and Human Aimbot Project Description: Need a CSGO hack which can ESP Wallhack and Aimbot realistically. Must be VAC Proof, and ESL proof, as wel