/* null_sort.cpp - Baseline control for the sorting example. James S. Plank CS302 September, 2009 */ #include #include #include #include "sorting.hpp" using namespace std; void sort_doubles(vector &v, bool print) { size_t j; if (print) { for (j = 0; j < v.size(); j++) printf("%4.2lf ", v[j]); cout << endl; } return; }