From the course: C++ IDE Overview

Unlock the full course today

Join today to access over 22,500 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 our first app using visual studio. We are going to modify the tuditional hello world with a slight variant which we'll call hello studio. Go file, new, project. In the left pane make sure visual C++ is checked and in the center make sure windows counsel application is selected. For the name, we're going to call this hello studio, one word camblecase and we're going to click OK. After a few moments, visual studio displays your project. With the CPP file open and ready to edit, on the right side of the page is the solution explorer. It shows the layout of your project. The app as it is now does nothing. There is one curious thing however, that is this line. STD afx.h, this is a pre compiled header. It helps reduce the compile time. Let's change the app to display our greeting. Below the include statement, add the following. First we're going to do include and this is going to be fiostream, next we're going to say using, name space, STD and then finally we're…

Contents