Are you set on the use of the find or find_if function from algorithm? If so, you should be including <algorithm>. And you should also be including <iostream>, otherwise the cout object isn't defined. This code should not have compiled as is.
If you just need to output all of the indices for the store_xcorr_sum[i] > 3, then you can just go element by element in a loop:
CODE
for (int i=0; i<10; ++i) {
if (store_xcorr_sum[i] > 3.0) {
cout << i << " ";
}
}
If you really want to use one of the methods from <algorithm>, you'll need to use find_if method with a unary predicate...you can read a little more about that method
here or
here. You won't be able to use a relational operator in find as you can in MATLAB.
With a little more detail about the context, we may be able to offer better suggestions about what would best suit your purposes. Are you going to want to store these indices in an array, or is just having them element by element good enough?