360x Filetype PDF File size 0.07 MB Source: www.robots.ox.ac.uk
C/C++CourseworkModule
Ian Reid, Trinity 2008
The course takes you through a series of exercises
designed to familiarise you with design and imple-
mentation issues in C++ programming.
Objectives:
Design and implementation of C++ programs.
Functions,classes,recursion,inheritance,graphics,
: : :
Structure:
Exercises – learning by example (Software-lab),
Mini-lectures (9am, and 12noon or 2pm)
Discussions – design in small groups
Project – 3D graphical computer game (maybe?)
1
References
• C/C++ course/lecture notes (IDR)
www.robots.ox.ac.uk/˜ian/Teaching/C++
• LipmannandLajoie(3rd edition)
• Stroustrup (3rd edition)
• Pohl
2
Introduction
Algorithms Data structures
Programs
Procedural programming:
design focuses on algorithms
e.g. matlab, C, Pascal, Fortran
Object oriented programming:
design focuses on data structures
e.g. C++, Java
3
Interpreted language
Source code
Interpreter
.m
• Interpreter: a program that reads source line by
line and carries out the action specified by the
line of code
• Interpreted language:
– good run-time error handling and identifica-
tion
– rapid prototyping
– slow
– e.g matlab, various scripting languages
4
no reviews yet
Please Login to review.