#include <iostream>
#incude <algorithm>
using namespace std;
int main()
{
setlocale(0,"");
int* ptr;
ptr=find(arr, arr+8,33);
cout<<"Первый объект со значением 33 найден в позиции "<<(ptr-arr)<<endl;
system("pause");
return 0;
}#include <iostream>
#include <algorithm>
using namespace std;
int arr[]={11,22,33,44,55,66,77,88};
int main()
{
setlocale(0,"");
int* ptr;
ptr=find(arr, arr+8,33);
cout<<"Первый объект со значением 33 найден в позиции "<<(ptr-arr)<<endl;
system("pause");
return 0;
}