added new window placement and folding for c, c++ files