About 69,300 results
Open links in new tab
  1. Introduction to Iterators in C++ - GeeksforGeeks

    Mar 10, 2025 · We can use iterators to move through the contents of the container. They can be visualized as something similar to a pointer pointing to some location and we can access the …

  2. Iterator - Wikipedia

    Iterators generalize pointers to elements of an array (which indeed can be used as iterators), and their syntax is designed to resemble that of C pointer arithmetic, where the * and -> operators …

  3. Python Iterators - W3Schools

    There are two methods that you have to implement when you create an iterator, which two? Well organized and easy to understand Web building tutorials with lots of examples of how to use …

  4. Iterator library - cppreference.com

    Jan 28, 2025 · Iterators are a generalization of pointers that allow a C++ program to work with different data structures (for example, containers and ranges (since C++20)) in a uniform …

  5. Iterators and Iterables in Python: Run Efficient Iterations

    Jan 6, 2025 · Understanding iterators and iterables in Python is crucial for running efficient iterations. Iterators control loops, allowing you to traverse arbitrary data containers one item at …

  6. Iterator - JavaScript | MDN

    Jul 29, 2025 · There are two kinds of "iterators": objects that conform to the iterator protocol (which, at its minimum, only requires the presence of a next() method), and objects that inherit …

  7. Iterators | Microsoft Learn

    Jan 28, 2022 · You can use the +, -, += and -= operators to move forward or backward a specified number of elements and to calculate the distance between iterators. You can compare …

  8. Iterators in C++ STL - GeeksforGeeks

    Oct 15, 2025 · Iterators allow algorithms to work with any container type, making functions like std::sort (), std::find (), and std::for_each () more flexible. You can pass iterators instead of the …

  9. C++ Iterators - Programiz

    An iterator is a pointer-like object representing an element's position in a container and is used to iterate over the container elements. In this tutorial, we will learn about C++ iterators with the …

  10. std:: iterator - cppreference.com

    Oct 1, 2023 · std::iterator is the base class provided to simplify definitions of the required types for iterators.