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

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

Join Date: Dec 2005
Posts: 3,890
Reputation: Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of Salem has much to be proud of 
Rep Power: 23
Solved Threads: 441
Colleague
Salem's Avatar
Salem Salem is offline Offline
Senior Poster

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

  #2  
Apr 23rd, 2007
> usingnamespace std;
First of all, you need to stop using whatever crappy code colouring tool which removed the space between "using" and "namespace".

It's hard enough to help people sometimes without having extra problems inserted.

> i get the "fatal error" that says unresolved external symbol

You've got this
int seqSearch(int list[], int listLength, int searchItem);

But you also need to write the function itself
int seqSearch(int list[], int listLength, int searchItem) {
  // actual code here
}
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 10:20 am.
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