header problem?

Started by
0 comments, last by poopface 21 years, 1 month ago
I have a header and cpp file that are included in a vs 6.0 project and they have the proper #ifndef __file__ #define __file__ code #endif However, I''m getting errors such as: main.obj : error LNK2005: "float yPos" (?yPos@@3MA) already defined in game.obj main.obj : error LNK2005: "float force" (?force@@3MA) already defined in game.obj when linking, where game is the file I''m linking. What would be causing this?
Advertisement
poopface here,

well if anyone is having this problem - the answer has been posted a few questions below in response to marty666.

This topic is closed to new replies.

Advertisement