Linked List

  • (3 Pages)
  • +
  • 1
  • 2
  • 3

34 Replies - 2878 Views - Last Post: 18 April 2010 - 01:09 AM Rate Topic: -----

#31 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: Linked List

Posted 17 April 2010 - 03:18 PM

You declared the methods but you have not defined (implemented) them.
Was This Post Helpful? 0
  • +
  • -

#32 tarheelfan_08  Icon User is offline

  • D.I.C Regular

Reputation: -2
  • View blog
  • Posts: 256
  • Joined: 24-January 10

Re: Linked List

Posted 17 April 2010 - 04:49 PM

The functions are blank because everything i tried blew up big time! So to save time i just took out my messed up code
Was This Post Helpful? 0
  • +
  • -

#33 n8wxs  Icon User is offline

  • --... ...-- -.. . -. ---.. .-- -..- ...
  • member icon

Reputation: 972
  • View blog
  • Posts: 3,878
  • Joined: 07-January 08

Re: Linked List

Posted 17 April 2010 - 04:57 PM

You got the link errors because the methods don't exist. Write a stub for each method even if the stub doesn't do anything. You can then one by one write the code to do the function.
Was This Post Helpful? 0
  • +
  • -

#34 tarheelfan_08  Icon User is offline

  • D.I.C Regular

Reputation: -2
  • View blog
  • Posts: 256
  • Joined: 24-January 10

Re: Linked List

Posted 17 April 2010 - 11:43 PM

Sorry I do not understand!
Was This Post Helpful? 0
  • +
  • -

#35 jjl  Icon User is offline

  • Engineer
  • member icon

Reputation: 1072
  • View blog
  • Posts: 4,532
  • Joined: 09-June 09

Re: Linked List

Posted 18 April 2010 - 01:09 AM

in other words, you have created functions but you have not defined what they do outside of your class.

example of your errors that your making


int add(int a, int B)/>;

int main()
{

     cout<<add(1,2)<<endl;


Was This Post Helpful? 0
  • +
  • -

  • (3 Pages)
  • +
  • 1
  • 2
  • 3