Sept. 14, 2000 Selection Sort ============== This code illustrates the use of arrays, function calls and the swap function. Designing the code, debugging, testing ====================================== This directory illustrates several ideas taught in class, as well as debugging techniques: - using versions - using cout to see the values of variables - using a data file to speed up entering the data, and to make sure I test it on the same data set (so that errors reproduce). Also, it illustrates the process of developing a "readable" piece of code, starting from a template, adding the relevant components, testing each one before moving on to the next stage. This will be done in class with the students, as I directly compose code in front of them, not just read code from this existing source. But this code is here to illustrate where I want to get, eventually. Concepts illustrated in this program: ===================================== - use of arrays - IN/OUT parameters - re-use of previously defined functions (min) - testing, debugging