title: tracking down LNK2005: "already defined"
body: <p>I have been working on a program in windows VC++ 2008. I started by having all of my code in .cpp files (just to get everything working), and now breaking things into .h, and .cpp files. when I compile I get a mountain of LNK2005 errors stating that:</p>
  
  <pre><code>Object.obj : error LNK2005: "__thiscall thing::thing(args)" already defined in otherObject.obj
  </code></pre>
  
  <p>while I was making the original program I kept getting errors of undeclared identifier, and so I gave a include directive to satisfy that. now when I am breaking everything up into separate .cpp, and .h files I get all of this. which place do I start looking (Object, otherObject, or thing), or somewhere else.</p>