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] If you still have a project open, delete it by hovering over its name, and then right clicking to get the context menu, and then select delete. Go ahead and click delete sources, and click yes. In the toolbar, click the new project icon, which looks like a folder with a plus sign. Choose C, C++ in categories, in projects choose C, C++ applications, click next, in the project name type Hello Beans, make sure create main file is checked, keep the name main for the C++, and also make sure that we have it set for C++ 14, click finish. Let's reveal this Main cpp by clicking on the plus sign next to source files, and double click Main cpp. While this is a program, it doesn't do anything. Let's change it to display Hello NetBeans in the console. Make sure line numbers are on, if they are not, open the view menu and click show line numbers. On line 14, we're going to change C std lib, which is the C language standard library, to iostream, which will allow us to receive input…

Contents