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: Xcode

Solution: Xcode

From the course: C++ IDE Overview

Start my 1-month free trial

Solution: Xcode

(light music) - [Instructor] I hope you had fun with the challenge, did you solve it? Here's my solution but don't be surprised if it doesn't match yours. So we're going to come in here and create a new Xcode project, MacOS Command Line, Next, we're going to name this one dynamic because I'm going to dynamically calculate the average test score. Next, we're going to accept the location where it wants to save it, Create, we're going to open up our main CPP. And the very first thing we're going to do right below our iostream we're going to say using, name space std. The next thing we're going to do is, I'm just going to go ahead and delete this and create another main function open and close parentheses since we're not taking any argument and we're going to return zero. How did I do that? I'm going to create some variables, auto counter equals zero, auto total scores equals zero point and then auto finished equals false. Okay so right now it's just giving me some warnings saying hey…

Contents