We write a simple c program together during the lecture: “countdown” how many seconds are left until the first ignment is due? We (or rather Richard) make many mistakes.
Using top down design, functions, function prototypes, integer arithmetic, input/output.
we discuss program style, clarity, simplicity and complexity.
how to start to solve a problem. what to do when you get stuck. more on top down approach. # includes magic numbers variable names. why not to write amusing error messages. prjintf().
Duration : 1:1:9
[Read more →]
Technorati Tags: #include, allen, buckland, clarity, comp1917, computer, computing, getting, key, lecture, magic, names, numbers, optimisation, problems, program, programming, richard, science, simple, simplicity, solving, speed, stuck, style, university, unsw, variable, viking
Tags: writing programs by admin
8 Comments »