<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by khinhooi</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 04 Dec 2026 00:12:22 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>C++ Iterators</title>
            <link>http://forum.lowyat.net/topic/2643624</link>
            <description>Hello, I am very curious how C++ iterators work. Most tutorials only explain about the usage, not the underlying concept.&lt;br /&gt;&lt;br /&gt;What does it mean when we write:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;vector&amp;#60;int&amp;#62;&amp;#58;&amp;#58;iterator i; &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;what does the :: doing there? Is the iterator keyword an object, class or template?&lt;br /&gt;What is the difference with:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;list&amp;#60;int&amp;#62;&amp;#58;&amp;#58;iterator i; &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;How about:&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;vector&amp;#60;int&amp;#62; v;&lt;br /&gt;i = v.begin&amp;#40;&amp;#41;;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;What vector has to do with iterator? What does it mean to use begin(), end(), rbegin(), etc&lt;br /&gt;&lt;br /&gt;Thanks in advance.</description>
            <author>khinhooi</author>
            <category>Codemasters</category>
            <pubDate>Wed, 26 Dec 2012 22:07:07 +0800</pubDate>
        </item>
    </channel>
</rss>
