timeSense.h/cpp


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]

Posted by Grey on August 12, 2001 at 17:33:13:

when I do a simple test using timesense, like

timeSense a;
timeSense b(500);

i get linking errors!

this is my test code:

#include
#include"timeSense.h"

using namespace std;

void main()
{
timeSense b(500);
}

these are the linkign errors:

Linking...
timesensetest.obj : error LNK2001: unresolved external symbol "public: __thiscall timeSense::~timeSense(void)" (??1timeSense@@QAE@XZ)
timesensetest.obj : error LNK2001: unresolved external symbol "public: __thiscall timeSense::timeSense(unsigned short)" (??0timeSense@@QAE@G@Z)
Debug/timesensetest.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.

timesensetest.exe - 3 error(s), 0 warning(s)

how are we supposed to do the project?!?



Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

Comments:

Optional Link URL:
Link Title:
Optional Image URL:


[ Follow Ups ] [ Post Followup ] [ CS328 Message Board ] [ FAQ ]