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.

Solution: CLion

Solution: CLion

From the course: C++ IDE Overview

Start my 1-month free trial

Solution: CLion

(bright musical tones) - [Instructor] Hi, were you successful with your challenge? Here's my solution to it. If you have a project open, first go "File," "Close Project"... On the welcome page, click "New Project"... Because we want to calculate the average test score dynamically, we're going to call this project, "Dynamic," make sure it's a C++ executable, and that it's C++ 14, click "Create." Now, I don't need any of this generated code, so I'm going to do a control-A, command-A on a Mac, and I'm going to press "Delete" to get rid of it all. At the top of the file, I'm going to go, pound sign, "include"... "space, iostream"... then I'm going to say, "using mainspace std semicolon" then I'm going to do our main function, "int main" with an open and close parentheses, open and close curly brace... By tradition C and C++ programs return an integer 0 when they execute without issue, so let's go ahead and do that now. We say, "return 0"... Now I create three variables: "auto, counter…

Contents