1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
|
#include "Header.h"
int main ()
{
const int AR_LIST[] = {7, 12, 9, 18,};
const int AR_SIZE = 4;
const string NAME_ARRAY[] = {"Jill", "Bob", "Greg", "Steven"};
//INPUT - Function that asks the user for input(see GetSalesInfo.cpp)
FindFirstNum(AR_LIST[], AR_SIZE, NAME_ARRAY[]);
LowestValArray(AR_LIST[], AR_SIZE, NAME_ARRAY[]);
return 0;
}
and this is my header file:
#ifndef HEADER_H_
#define HEADER_H_
//Pre-Processor Directives
#include <iostream>
#include <iomanip>
#include <string>
#include <cstdlib>
#include <time.h>
using namespace std;
void FindFirstNum(const int AR_LISTF, const int AR_SIZEF, const string NAME_ARRAYF);
int LowestValArray(const int AR_LISTF, const int AR_SIZEF, const string NAME_ARRAYF);
#endif /* HEADER_H_ */
|