Accessing information from an array

Hi there
Last edited on
First, please use code tags and intuitive indentation, when posting code. See

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.
Registered users can post here. Sign in or register to post.