[ 10.html ]
[ sort3.cpp ]
[ sort3c.cpp ]
Old fashioned but effective for simple problems. Not so good for complex
software which has many different purposes.
[ intname.cpp ]
Pretend to be the computer.
A very useful texhnique that lets you grow code organically.
This is found in
and it is called like this
I believe assert to be a vital tool for developing software.
We will use it in labs.
Why programming some programs takes a lot of care and attention to detail.
Test Driven Development
where you write the tests first and then make the code satisfy the tests.
Demo in class....
[ tdd1.cpp ]
[ tdd2.cpp ]
You should try this in your projects.
Some people find this helpful. I don't.