msnina 0 Newbie Poster

how can i manipulate some vectors in c/c++ like
v1(1,0,0,0) becomes v2(0,1,0,0)