Windows Files to Hand-In And other things you should know Currently wxDev-C++ Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Windows The design and evolution of Windows is to make the computer more user friendly It is intended for the Computer illiterate Computer semi-literate And not for the computer sophisticated Developers are supposed to be able to see through the lies that Windows tells us Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Developers Those who: Design, write, test and document programs Developers use programs to make programs Programs are also known as applications The person who designs a car must know more about the car and the highway than those who merely drive Same with applications Copyright © 2006-2017 – Curt Hill
Does Windows really lie? The desktop is the root of the computer Actually the desktop is a subdirectory on the C disk Documents (files) are the center of the world The files are worthless without an application to manipulate them It also conceals files that we are interested in Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Files Files need three pieces to identify them Directory – this includes the drive File name Extension Windows Explorer or My Computer will hide the extension by default We need to expose it Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill File Explorer We need to send multiple files to hand-in a program The easiest and best way to do this is with File Explorer AKA Windows Explorer Not to be confused with the browser Internet Explorer We will now see how File Explorer is started Copyright © 2006-2017 – Curt Hill
Starting File Explorer Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Running Copyright © 2006-2017 – Curt Hill
Click View Tab Set Extensions Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Commentary We want to see the File Name Extensions Then we can send the right thing Once set, it remains Only need to set once Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill wxDev-C++ There are lots of files 9 in the main directory More in the two subdirectories The easiest way is to zip the entire directory and email it Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill The Process Have Dev-CPP show the directory Select directory with Windows Explorer Right click and choose Send to Compressed file It will then compress it The file allows a rename when done Consider the following screens Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Finding Directory Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Zipping Directory (1) Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Zipping Directory (2) Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill The zip file Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Directories The dialog may ask you where the file is stored Attach this to an email to me This also works in the debugging process Very hard for me to answer questions when all I have is brief description in email Zip it and send whole directory Does not count as a graded program Copyright © 2006-2017 – Curt Hill
Addendum on Executables The spam and malware filters are getting better and better Prior to 2012 they would always remove a .EXE from email Now they actually scan .ZIP files and remove entire file if it contains one executable How do we get around this? Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Removing executables Prior to the zip operation delete the executable or its directory In Dev-CPP this is the Output directory Just delete the entire directory The next time you run it, it will be rebuilt See next slide Copyright © 2006-2017 – Curt Hill
Delete Output Directory Copyright © 2006-2017 – Curt Hill
Copyright © 2006-2017 – Curt Hill Finally We are now ready to hand in DevCPP generated GUI programs The first time you do this you may need to refer back to this PowerPoint Copyright © 2006-2017 – Curt Hill