Yeah, you can do what Superku said, or you can define your vector like this: VECTOR* spawnp = {x=0; y=0; z=0;} This would also initiallize all values of your vector (this is important, because if you don't initialize a variable it isn't necessarily zero!).