Okay, here's what I have so far, and it doesn't seem to be working. Is there a better debug method besides temp print lines? Thanks again!
Code:
#include <stdio.h>
#include <math.h>
#include <string.h>
int readStats( int month[], int day[], int auburn[], int opp[], int attend[] );
void printReport( int month[], int day[], int auburn[], int opp[], int nGames );
int printDetails( int month[], int day[], int auburn[], int opp[], int nGames );
void printHeader();
void printSummary( int auburn[], int opp[], int nGames, int nWin );
double mean( int array[], int nElements );
int main()
{
int MAX_GAMES = 100;
int readStats( int month[MAX_GAMES], int day[MAX_GAMES], int auburn[MAX_GAMES], int opp[MAX_GAMES], int attend[MAX_GAMES] );
}
int readStats( int month[], int day[], int auburn[], int opp[], int attend[] )
{
FILE *tempFile;
tempFile = fopen("2009_wbb_stats.txt", "r");
int temp;
fscanf(tempFile, "%d", &temp);
printf("%d", &temp);
}