In this lecture I want to go over.
Installing the idea that we're going to use for our C++ programs in IEEE stands for integrated developer
environment.
And what we chose for this course is Eclipse as it will work on basically all operating systems.
But before we do that we need to.
Well first you need to do the steps in the previous lectures for your offerings.
So in previous lectures church just articles outlines the steps that you need to take to install your
compiler.
So if you haven't done that you need to do that first.
So was the video code do that in and come back and we'll start with the ID.
So once you've done that you want to go to coracle dot com and put two downloads in the chevre S E or
follow this link and that will take you to this page and the one we're going to download is the jack
j r e the Java runtime unberth.
Is it that and you'll see the list of all the different versions for the different operating systems.
So the one you probably watch if you're on Windows say is E dot DXi is off line version.
So depends on which or what your computer is.
Either X x or x x x.
So hit accept and then choose the one that pertains to your system.
I'm on a Mac so click.
Mac OS X X X for DNG for Linux.
It really depends on your distribution.
So I've already installed it.
So pause the video and download everything and install everything and then come back and we'll go to
the next step.
So the next step is installing the actual ID itself.
And if you go to a clips or you should see the current version that were you want is called Neon.
And you want to hit other package down.
It's so once you go there what we want is the clips ID for a C and C++ developers so that and on the
right you should see again a list of all the different versions.
Pick the one that suits your system.
So I've already downloaded mine Sue.
Once you have it all downloaded should cease and kind of
file some kind and extract it and you'll see the eclipse.
Application.
So me I need to install it into my application Haitian's folder in it run.
So you should see this prompt which tells you where you want all your programs.
He is your workspace.
I'm launch
this year.
Don't want to see this ever again.
OK.
And you should be taken to this page right here.
And the one we always want is the create a new C++ project at in screen name it's purse agreeing
and the one is always in the executable folder and choose.
Hello world C++ project and toolchain.
This is very important.
This is what you did in the previous lectures.
That's why this appears and the one for Windows would be the men GW GCC for Mac.
Is this one Mac OSX.
Gcc in Linux should just be.
It's probably just gcc in so it's ish.
This is a
so here on the left you have all the files that you have for program so you only have one file right
now.
And in that file.
Here is our actual code.
Finally some code.
So the first two lines.
I'm not going to explain them just yet but just know that you need both of these lines in every program.
We're going to be writing to the next line.
Is the inch main open print secret closed print see the and.
This is actually the entry point into our program.
This is where her program starts every time so we will always need this main function so we don't need
this mean function.
So in this mean function we have this thing called C out and C out really just means cancel out so it'll
print something to our consulate's is our output.
We learned about before.
So this is the tool to use to output things so it's outputting.
This is the kind of output operator in the output operator output.
This string says hello world.
And also put in chain yse the outputs together using its operators as well.
And this will just output a new line in so if we build
project
the
should see the console that it's printed out.
Hello world.
Printed out this.
It's called the string is just a string of characters.
In a new line you so in the last line we have in the main function just returns 0.
Don't go over this more.
So don't really worry about it just know that you have to have this return zero at the end.
So don't worry for not following it just yet.
We'll be doing a lot more examples and writing a lot more programs so you'll start understanding how
this all fits together.
So in the next lecture we'll start really diving deep into what this all means.