write code c++ use xcode in mac