Copyright © 2006-2012 – Curt Hill Windows Files to Hand-In And other things you should know

Preview:

Citation preview

Copyright © 2006-2012 – Curt Hill

Windows Files to Hand-In

And other things you should know

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-2012 – 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-2012 – 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-2012 – 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-2012 – Curt Hill

Explorer Selecting Tools

Copyright © 2006-2012 – Curt Hill

The View Tab

Copyright © 2006-2012 – Curt Hill

Copyright © 2006-2012 – Curt Hill

CheckBox• The important check box is labeled:

Hide extensions for known file types• By default it is checked• This means that most of you will

send me one or more files that I do not need and not send me the ones needed

• Unchecking it is persistant

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-2012 – 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-2012 – Curt Hill

Finding Directory

Copyright © 2006-2012 – Curt Hill

Zipping Directory (1)

Copyright © 2006-2012 – Curt Hill

Zipping Directory (2)

Copyright © 2006-2012 – Curt Hill

The zip file

Copyright © 2006-2012 – 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

Copyright © 2006-2012 – 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-2012 – 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 will rebuild it

• This may be different between VCSU and WSC– WSC will pass through a stiffer spam

filter

Copyright © 2006-2012 – Curt Hill

Recommended