mike parr's pages

 
  Home . Downloads . Sheffield Hallam Stuff . My Band, Music . Photo Gallery .
Favourite links . Top Ten . Contact Me


shu stuff

MSc2004-5 page

Handing in Listings
To hand in program code - make sure that the lines don't wrap on paper. To ensure this, decide on your line-length, e.g 80 chars. If your source code goes beyond this, break the line. In java, C, C++ you can break it anywhere - but not in the middle of a word. In VB, break the line with a space followed by an underscore_ (i.e. shift - ). In Python, end the line with a \

Don't use the tab key to indent - except if you use Python! (If you use tabs in VB, C++, Java, ensure that your programming system is set to replace tabs by spaces). Four spaces per indent is OK.

Use a fixed pitch font, in which each character occupies the same space so w and i are the same width. A suitable font is courier new.

If you bind the work, ensure that the left of the page is visible - i.e. that the margin is wide enough.

To get a screenshot, set up the window that you wish to copy, then press ALT PRINTSCREEN. This places the window on the clipboard. Go into Word, then choose Paste to get the image into your document.

gbullet.gif Some old C++ notes - (Just for interest!)

gbullet.gif Some Level 2 OOP C++ notes (NB no gui stuff)

gbullet.gif PDL/Pseudocode problems (Word format)

gbullet.gif The problems WITH solutions

 
  Home . Downloads . Sheffield Hallam Stuff . Music . Photo Gallery .
Favourite links . Top Ten . Contact Me