Original Post
Hello Everyone, I'm trying to create a vector class that will hopefully make my game development easier. Anyways, I created my vector class and put all the source code in vectorClass.h, then I put that header in my Dev C++ include directory so that Whenever I want to use it, i can just #include and be on my way. Here's the problem. I can only include that file in one of my .cpp files. If i have it included in more than one file, it gives me this error for all the methods in my class: Multiple definition of vectorClass:methodname(...) I tried putting: #ifndef _VECTORCLASS_H_ #define _VECTORCLASS_H_ #endif around the code in my header file, but it still doesn't seem to do anything. Anyone know what I can do about this? Thanks Gavin