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

Unresolved External Symbol Error

Join Date: Oct 2006
Location: Manchester, UK
Posts: 3
Reputation: delphi_uk is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
delphi_uk delphi_uk is offline Offline
Newbie Poster

Re: Unresolved External Symbol Error

  #3  
Mar 15th, 2007
Originally Posted by joeprogrammer View Post
How in the world did you get it to compile? For one thing, you'll need to #include <iterator> if you intend on using ostream_iterator.

I didnt manage to get it compile thats why I was getting the error. Thanks for the advice on the iterator, the site that I took the code snippet from did not have that header in the sample code.

Originally Posted by joeprogrammer View Post
  1. Tokenize( inputString, token ); // add an 's' to 'token'

My appologies on the spelling mistake, that was human error as I copied the code from my laptop to the desktop, in the original program this was correct.

Originally Posted by joeprogrammer View Post
  1. void Tokenize( const string& str, vector<string>& tokens, const string& delimiters = "|")
  2. {
  3. // Tokenize taken from [url]http://www.hispafuentes.com/[/url]
  4. // Skip delimiters at the beginning
  5. string::size_type lastPos = str.find_first_not_of( delimeters, 0 ); // you're spelling 'delimiters' wrong


Again this is due to inaccuracies in copying the program.

However non of these issues that were brought up solved the issue of the LNK2019 error.

Also thank you very much for the fast response, I have lurked on these forums and used some solutions for quite some time, however this is the first time I have needed to ask a question.

Delphi
Last edited by delphi_uk : Mar 15th, 2007 at 8:15 pm.
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 1:27 pm.
Newsletter Archive - Sitemap - Privacy Statement - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC