Re: timeSense.h/cpp


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

Posted by Natalie on August 12, 2001 at 21:46:19:

In Reply to: timeSense.h/cpp posted by Grey on August 12, 2001 at 17:33:13:

When you compile, be sure to include timeSense.cpp in
the compilation. I got the same errors for awhile, and
realized that was the problem.

Natalie

: 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 ]