This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
I take it both serve the same purpose. Enumeration interface has become obsolete but in case of HashTable enumerator would be preferred as HashTable does not directly support itertors.
i would like to know can i altogether leave enumerator and can depend on iterator to access elements one by one. Why do we give preference to iterator over enumerator. What is the difference between the two if any.