Accessing information from an array

Hi there
Last edited on
First, please use code tags and intuitive indentation, when posting code. See http://www.cplusplus.com/articles/jEywvCM9/

You obviously don't want to use std::count, for:
* It merely counts the occurrences
* You want to hone thinking skills

You want indices. Possibly MAXLEN of them. Hence, a second array.
Topic archived. No new replies allowed.