Chapter 8
Technicalities: Functions, etc.
Bjarne Stroustrup
www.stroustrup.com/Programming
Abstract
This lecture and the following present some technical
details of the language to give a slightly broader view
of C+s basic facilities and to provide a more

Chapter 4
Computation
Bjarne Stroustrup
www.stroustrup.com/Programming
Abstract
Today, Ill present the basics of computation. In
particular, well discuss expressions, how to iterate
over a series of values (iteration), and select
between two alternative a

EN2008 Computing 2
Coursework 1 Instructions
Coursework 1 is worth 60% of the overall module mark.
Submit your coursework via the Web Blackboard AND the Teaching office by Monday
30th of November 2015, 12pm. Only coursework submitted both in electronic an

Chapter 10
Input/Output Streams
Bjarne Stroustrup
www.stroustrup.com/Programming
Abstract
We get data from files, sensors, web
connections, etc., which we want to
analyze, print, graph, etc. Sometimes, we
want to produce such data. In this lecture,
we loo

EN2008 Computing 2 Coursework 1
A company organising around the world trips would like to have a program to help the customers to
plan a travel route around the world. The program should store a list of the cities the company
organises the travel to and a

All the X and Y coordinates are in Meters
London X = -77619.039567
London Y = 35229539.759208
Moscow X = 24369072.149157
Moscow Y = 31623747.766263
Delhi X = 20262583.171405
Delhi Y = 4594264.163280
Beijing X = 23601179.151852
Beijing Y = -11719936.408334