#include<iostream>
usingnamespace std;
constint ArraySize = 8;
int seqSearch(int list[], int listLength, int searchItem);
int main()
{
int index;
int intList[ArraySize];
int name;
cout<< "Enter 8 names: " << endl;
for (index = 0; index < ArraySize; index++)
cin>> intList[index];
cout<< endl;
cout<< "Enter a name to search for... ";
cin>> name;
cout<< endl;
index = seqSearch(intList, ArraySize, name);
if(index != -1)
cout << name << " is found at position " << index << endl;
else
cout<< name << " is not found." << endl;
return 0;
}
thats all the code and when it compilies i get the "fatal error" that says unresolved external symbol.. i have NO idea how to fix this.. please help...
thank you!!