Quantcast
Channel: iterator – bits and bytes
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

How to convert iterator to corresponding data pointer?

Well it was quite easy in VC6 to work with iterators since iterators were actual pointers to internal data, so they could be used interchangeably. For e.g. typedef std::vector<int> IntVector;...

View Article


Using std transform function

So what does std::transform function do? “Applies a specified function object to each element in a source range or to a pair of elements from two source ranges and copies the return values of the...

View Article


Working with the STL iterators

Almost every programmer some how gets involved with STL iterators while programming. I’m quite fond of these concepts. So what exactly is an iterator? STL stands for the Standard Template Library which...

View Article
Browsing all 3 articles
Browse latest View live


Latest Images