changing rotation and location of mesh

how do i change the rotation and location in c++? the skeletal mesh of my char spawns somehow in wrong direction.