(bright music)
Frank: Hello everyone.
In this video, I'd like to show you
how to use the source code that's provided with the course.
Each section of the course contains
a compressed zip file that contains a workspace
and all the projects that I've created in that workspace.
So for example, suppose that we're working on section eight,
there'll be a section eight zip file.
It may be a different name,
but it'll have everything that you need in there.
And what you can do here is just extract that file
and I'll extract here
and I'm simply gonna extract it right to my desktop.
As you can see, the folders have all been extracted.
So if I double click on section eight,
you can see all the projects in there.
Now, there's one special file
you'll see down at the bottom here.
It's called section eight,
and it's a workspace file.
If you right click on that,
you can open with CodeLite
and that'll open up the workspace in CodeLite.
And once the workspace is open
you have access to all the projects in there.
So that's one way to do it.
Another way to do this
is once you've extracted the file,
just open CodeLite.
Okay, so now once CodeLite is opened
you can choose to open a workspace right over here.
So I'll select that, open workspace,
and then you can just navigate
to the workspace you want to open.
In this case, it's section eight workspace.
You can just simply select that file
and you can see the workspace opens up
right here with all your projects.
Now, I'm going to close the workspace
and show you another way to do it would be right up here.
You just come to workspace.
If you have a workspace that's already open
you can simply workspace close.
It wouldn't be grayed out, it'll be right there.
In this case, I just wanna open a workspace
and again, you navigate to the workspace you want to open.
Select it, and there it is.
So now I've got section eight workspace
with all the projects that I created and provided for you.
In order to run these projects
you simply double click the project you're interested in.
So suppose I'm interested in this Euros project.
You can see the source code
and all you really need to do is build and run.
But I'd suggest that you clean it first,
especially if you're going from Windows to PC to Linux.
I'm developing on Windows.
So if you're on a Mac or a Linux machine
or even a Windows machine,
it's always a good idea to clean the project.
And what you can do, you can right click and clean
or you can come up to here where it says build clean.
So we'll clean the project
that removes all the object files, the EXE files,
and just gets rid of a bunch of stuff
that you might not need,
depending on your system.
Now that we've got that ready,
we can simply build and run.
And we should be good to go.
Euros to US dollars.
So we'll type in a hundred,
$119 is a hundred Euros.
So that's it.
It's really pretty straightforward.
What I would suggest is that you create,
obviously your way of organizing your files.
I'd use folders or directory structures.
And also something that's important
to understand as well with CodeLite,
CodeLite does things a little differently.
So suppose that you've got projects in another workspace
and then you select the workspace here
and you say add existing project.
Well, what happens here is it doesn't actually
copy that project into the workspace.
It'll create a new project in this workspace,
but the files will still be where they were before.
So your dot CPP files and your header files
and everything will still be where they were.
So think of this more of a logical project
rather than a physical copy of it, okay?
But once you play around with it
you'll understand exactly what's going on.
So really straightforward,
you've got the zip files that we're providing, unzip them.
You'll have a folder structure
and then just open that workspace file in there.
All your projects should come in no problem at all.