Creating your file space
On the Windows Desktop.
Create a folder where you will put all of this week’s files.
To do this right click on the desktop and in the popup menu, click new -> folder, as shown in this graphic

Give it name of the lab for that week.
In that folder, create new folders for each of the projects you will do that week
To do this double click on the folder you just created to open it.
In this opened folder window,
right click just as you did in step 1 and with each folder created, give it the name of the project. You should wind up with as file hierarchy that is similar to this graphic.

* REMEMBER TO MOVE THE FOLDER CONTAINING ALL YOUR PROJECT FOLDERS OFF THE DESKTOP TO YOUR homes directory WHEN YOU ARE DONE!!!
To do this use "My Computer" as your file manager and navigate to your homes directory and open it as a folder window. You can now drag your folder from the Desktop onto your homes directory window.
Now you safely log out. Don't worry about the files that are left on the desktop because they will all simply disappear.
Creating your work space in Dev-C++
To open Dev-C++ (in the lab, it's Start -> programming -> Dev-C++).
Either click on the new project icon
or using your mouse, navigate to, File -> new -> project, and click as shown in this image.

In the window that pops up, click on empty project and name the project according to your assignment for that lab week.
Save in the project folder you created in your file space (see the creating your file space web-tutorial).
When you do this, a project icon will appear in the Dev-C++ sidebar window. In this image it is labeled project1.

Right click on this icon and in the popup menu, select add to project as shown in this image.

If the open file window doesn't display your project folder navigate to that folder and select the template based file you put there. (See the Setting up template.cpp tutorial)
If the source code editing window doesn't show up, click on the name of the file in the sidebar and it will open in an source code editing window in Dev-C++.
Here you are ready to edit C++ code
hint - When you use file -> save, in Dev-C++; do not type in a .cpp extension because Dev-C++ will do this for you.
Setting up template.cpp
If you do not have a copy of template.cpp in your homes
directory, go to Moodle -> your lab section -> resources -> and select the file template.cpp.
When the file window comes up. right click on the text and in the popup menu, click select all
in the selected(highlighted area) text, right click again and select copy. open a new source file in
Dev-C++ and paste the copied text into this file. Save this file as template.cpp in your homes directory.
Now that you have this, you can (with your mouse)drag a copy of template.cpp to the folder for the project you are creating.
When you have this file where you want to work, rename it to your project name with a .cpp extension.
At this point, when you select a file to add to your project, this file should be available
Adding run output
Run output is captured from the black command line window that displays your output when you program runs successfully.
At that point set you mouse curser on the blue bar at the top of this window and right click. In the popup menu that appears,
select the select all menu item. Move your mouse curser back to the blue bar and right click again. Now select the copy menu item.
Go to the bottom of the source code edit window in Dev-C++. If you have used template.cpp their will be a multi-line
comment block where into where you can right click and select paste. It should look some thing like this:
/* output of run
y plus z is 7.6
Press any key to continue . . .
*/
re-save your source code to include this.
hint - if you don't put your run result in a comment block you will have terrible compile errors.