So I am using Visual C++ 2008, am only a few days of experience with the program, but I have already started game developing with it. As of recently I have made Pong with the IDE, but it didn't satisfy me so I started making another version
of it. I created a regular CLR, Windows Form Application, and made a main menu for the game with it. Then I added a New item, Windows form, and named it "Form2" I start designing the display of the game, then finally get to programming it, when I
realize that every time I try to add a variable (char, bool, int, ect.) it brings up an error message, here's an example of it: "error LNK2005: "int bDirection" (?bDirection@@$$Q3HA) already defined in Form2.obj" can someone please help
me, I'm only defining these variables once in Form2. Thank you so much in advanced.
↧