RSS Forums RSS
Please support our C++ advertiser: Programming Forums

i need help.. C++ unresolved external symbol?

Join Date: Apr 2007
Posts: 4
Reputation: lionburn50 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lionburn50 lionburn50 is offline Offline
Newbie Poster

Help i need help.. C++ unresolved external symbol?

  #1  
Apr 23rd, 2007
#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!!
AddThis Social Bookmark Button
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 9:24 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC