0

I am currently writing a stack class that uses linked lists. I feel like i am done but I keep getting an Unresolved external error.

Here it is:

Error: Unresolved external 'Stack<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >::Node::Node(std::basic_string<char, std::char_traits<char>, std::allocator<char> >)' referenced from C:\USERS\JOHNNY\DESKTOP\STACK\INFIX_TO_RPN.OBJ

Does anyone have any idea what to do? I sure don't. I can provide code if necessary.

Starkey
  • 9,673
  • 6
  • 31
  • 51
Johnrad
  • 2,637
  • 18
  • 58
  • 98

1 Answers1

1

That's complaining that a function Stack<...>::Node::Node(std::string) does not seem to have an implementation. Most likely it's that you've added the declaration for that constructor and used it somewhere, but your implementation is missing or misnamed.

John Calsbeek
  • 35,947
  • 7
  • 94
  • 101