Hello, I've been having trouble creating a variable for a vector. Here's some pseudocode of what I would like to do:
vector2 vec(0,0)
vec.x = 1
vec.y = 5
I'm using SFML2 so I'm not sure if 2d vectors are used the same. If someone could post a sample of how to do this, that would be great.