/******************************************************************************************** ezwSort.h Jim Millard for CO311 EZwindows sort visualizations ********************************************************************************************/ #ifndef __EZWSORT_H #define __EZWSORT_H //handy constants that keep us sane //Note that all are ultimately based on the width of the drawing window... const float winX = (float)25.0, winY = winX * 0.75; //dimensions of the display window const int MaxElements = 1000; //maximum number of elements to sort enum sortchoice { done, terrible, bubble, bidibubble, shell, selection, insertion, quick }; void Visualize(int [], const int toSort, const sortchoice, const short load); void Pause(); #endif