c++ in xcode

By djflex90, 31 March, 2014

Forum
macOS and Mac Apps
I am trying to get back in to c++, and I was told xcode was a good option. I just installed xcode 5.1, but I am not sure how to properly set up a c++ project and first file properly. I chose application and command line tool in the new project window, and was abble to make a c++ project, but not sure where to go from here. Please help?

Options

Comments

By mehgcap on Wednesday, March 26, 2014 - 20:33

This website has some guides on using Xcode with VoiceOver. To be fair, I wrote them, so I think they're rather good. There are also forums on Xcode worth looking at; just do a site search for "Xcode" and look through the results.

It would also help to have an idea of where you are stuck. Is it a programming thing? Are you not sure of how Xcode is set up, or what commands are available? Any details will help us to be able to answer you better.

By djflex90 on Wednesday, March 26, 2014 - 20:33

Well, I am trying to get back in to coding. I know the basics, but a resource for that would be nice. as far as xcode goes, I am no stranger to interacting, and from what i have seen, that is a lot of what throws people off in xcode is how many groups it has. My main thing is am I setting up the project correctly? I choose application in the new project window then console application. Then press the next btn and choose c++ in the pop up. When I finish the setup of the project, it does not create the main.cpp file as visual studio did way back when I used to code in school. I try to go create a new file and name it main.cpp but I am not sure what kind of file to create. I tried a header file nbut it didn't look right and had the wrong file extention. I tried a c file but when I went to find the editer it didn't look like a normal .cpp file there. The structure was not quite right.