This preview shows page 1. Sign up to view the full content.
Unformatted text preview: short frequencyArraySize ); /*Calculates the frequency of each of the integers 2. .12 in intArray and stores results in frequencyArray*/ void FindExtremeValues ( short arr , short arrSize, short* leastFreqValue, short* mostFreqValue ); /*Finds the least frequent and most frequent values in arr*/ void PrintHistogram ( char* outFileName, short arr , short arrSize ); /*Prints a histogram of the elements of arr into file outFileName*/ In particular, use the C++ I/O system (cin, cout, and associated methods), reference parameters, const in place of # define , suitable inline functions, and a judicious use of both /*. ..*/ and //. .. comments. Grading : • Source code 25% • Compilation, execution, output 75%...
View Full Document
This note was uploaded on 01/17/2012 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.
- Fall '08