27 Apr 2010
Updated: 28 Apr 2010
Rating: 4.60/5
Votes: 5
Popularity: 3.22
Licence: CPOL
Views: 31,752
Bookmarked: 3
Downloaded: 0
Since Visual Studio 2005, native C++ has had a ‘for each’ loop construct, like C# or Java. Unfortunately it is restricted to collections from the STL library, such as vector. However, it does mean you can write very neat code to iterate through such a collection:vector...
|