   Library Aggrevation
  Hail and well met fellow programmers. I''m having wierd library problems. I have a class like so..    class Stack{public:    void Push(const char *str);    //void Push(char c);    //void etc()....};I compiled a lib file and included the lib in a project. The problem is when I call Push(const char *str). I get a bizzare linker error that says this..   unresolved external symbol "public: void __thiscall CTextParser::Push(char const *)" (?Push@CTextParser@@QAEXPBD@Z)Normally this would alert to a problem in actual coding of the object. Well if I copy and paste the object into a source file, the project will execute fine. I only get an error with the lib verison of it, not the hard source. So I''m basically wondering if there is anything special I need to do with a (const char *) in a lib file. Do I need to add one of those funny declaration specifiers? The project is including the lib file in its project settings, everything else seems up to par. Thanks for all help.  
  I''m lost. The class declaration says its for a class named Stack but the linker error references CTextParser... ;  I was giving a very simple example of what I was doing. CTextParser has a member function with (const char *) as an argument. When that function is called, the linker gives the wierd error. I was hoping someone could explain to me what I was doing wrong. ;  That seem like either you forgot to link the cpp with the implementation or you mistyped something on the implementation. I''m not sure about this one but you may be mixing extern C and no extern C .h, .cpp and the compiler can''t mixed them because of the name mangling. Not sure if that is even possible, but i don''t have a compiler to test it right now 