// ***************************************************************** // Author: Zhixiang Chen // Class: CSCI/CMPE 1170, Spring 2009 // Lab 25: Selection sort // Date: January 12, 2009 // Comment: The code here is meant to be revised. // //----------------------------------------------------------------- // // This lab exercise is to show how to do selection sort. // // Compile and run your program. When everything is fine, // print your .cpp and .h files and turn them to me or the TA. // ***************************************************************** #include < iostream > #include #include < string > #include < cstring > #include < cmath> #include #include #include "lab_25_head.h" using namespace std; int main( ) { const int SIZE=10; //list or array size int list[SIZE]; //list or array int count; //comparisons of performance metric //load list with random numbers loadList(list, SIZE); //show list cout<<"Before sorting, the list is ....." <