ralphsort.cpp
//Programmer: Eric Barnes
//Class: CS 53
//Date: 4/7/2014
//File Description: Program to help Ralph sort arrays of letters and wookies
#include "ralphsort.h"
using namespace std;
int main()
{
const int NUM_LETTERS = 10;
const int NUM_WOOKIES = 8;
srand(time(NULL));
char pileOletters[NUM_LETTERS];
wookie pileOwookies[NUM_WOOKIES];
init_array(pileOletters, NUM_LETTERS);
init_array(pileOwookies, NUM_WOOKIES);
ralphSort(pileOletters, NUM_LETTERS);
ralphSort(pileOwookies, NUM_WOOKIES);
printArray(pileOletters, NUM_LETTERS);
printArray(pileOwookies, NUM_WOOKIES);
return 0;
}