in the air the aircraft will stay the way you point it, it will however drift sideways over the ground unlessyou do something about it.On landing you normally either point the aircraft of into the wind so it tracks down the runway, or you sideslip it to compensate (see the numerous threads on crosswind landings). On a cross country flight it does exactly the same thing and again you fly a heading slightly into wind to track the direction you want to.