From the course: C++ IDE Overview

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Writing code

Writing code

From the course: C++ IDE Overview

Start my 1-month free trial

Writing code

- [Instructor] Let's create a program in C++ in Xcode. Instead of the customary hello world app, we'll create one with a very slight twist and name it Hello Code. You're going to go file, new, project, Mac OS, command line tools, next, we're going to call it HelloCode, all one word, camo case, next, it's asking us where we want to put it. I'm going to put it in my documents folder, create. After a short delay, Xcode creates your program and now let's open up the main TPP. The Xcode user interface is divided into five areas. The top row is the toolbar, the left side is the navigator area, the top middle is the editor area, the top bottom is the debug area, and finally the right side is the utility area. We're going to go ahead and come over to line 10. We're going to say using, and this is going to be STD. Notice that we have completion working here. We are going to change line 14 so that instead of saying Hello World, it says Hello Code. And we're also going to add an end line here…

Contents