#include #include "genlib.h" #include "simpio.h" #indlude "strlib.h" int main(int argc, string argv[]) { string fileName; int roundsToSimulate, roundsToDisplay; lifeBoardT board; /* if syntax is wrong, exit with error message */ if (argc != 2) {Error("Syntax: $s ", argv[0]);} fileName = CopyString(argv[1]); ReadGameFile(fileName, &board, &roundsToSimulate, &roundsToDisplay); SimulateGame(board, roundsToSimulate, roundsToDisplay); return(0); }