Please support our C++ advertiser: Programming Forums
Views: 901 | Replies: 1
•
•
Join Date: Apr 2007
Posts: 4
Reputation:
Rep Power: 0
Solved Threads: 0
#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!!
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)






Threaded Mode