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.
Solution: NetBeans
- [Presenter] Welcome back. I hope you were successful and solved the challenge. Here is my solution to the problem. I began by going to File, New Project, C/C++, C/C++ Application, click Next. I want the average test score to be dynamically calculated. So I'll name the project dynamic. I verify that it is using C++14 and click Finish. Once the project is created, I reveal the main CPP file, then double-click to open it. I don't any of the generated code, so I do a Control + A to select all of the text, Command + A on the Mac, and press Delete. At the top of the file, I will include iostream so I can print to the display and get input from the user. On the next line, I will add using namespace std semicolon. Namespaces in C++ allow us to use the short version of library names. Next I will create the main function, int main, open and close parenthesis, open and close curly braces. By tradition, C and C++ programs return a zero when they execute without issue, so let's do that now…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.