This project is broken into three major sections:
The data is retrived from espn.go.com. This data is saved in an Excel file and then formulas are ran on the Excel file to populate the information needed to perform the calculations. The data is saved as a .csv file, and then formated by into a space separated .txt file saved in Input File/.
A Java Project is created and saved under the Java/ folder. In this project, there are three Java classes: Main, Parser, and Team. Parser parses the information in the input file. Team is a class of the team object for each of the 32 teams in the NFL. Main does the calculations of the information, and prints it to the console.
A C++ Project is created and saved under the C++/ folder. In this project, there are two C++ classes: Parser, and Team, each with their respective .h and .cpp files associated with them. Parser parses the information in the input file. Team is a class of the team object for each of the 32 teams in the NFL. The main function does the calculations of the information, and prints it to the console.
The Java project can be compiled and ran from the command-line while in the Java directory:
$ javac -classpath commons-math3-3.6.jar:. edu/tamu/csce315/Main.java
$ java -cp commons-math3-3.6.jar:. edu/tamu/csce315/Main
The C++ project can be compiled and ran from the command-line while in the C++ directory:
$ clang++ Main.cpp Team.cpp Parser.cpp -o main
$ ./main