initialize for XCode/C++/Emacs