The semester-long project will be based on the board game Checkers (also known as Draughts). For the first part, you must read an input file that describes a game configuration, make sure the input file is valid, and display summary information about the

computer science

Description

1 Summary 

The semester-long project will be based on the board game Checkers (also known as Draughts). For the first part, you must read an input file that describes a game configuration, make sure the input file is valid, and display summary information about the input file. In later parts of the project, you will be required to do much more processing of the input file, and will likely need to read the game configuration into an appropriate data structure. For this part of the project, all source code must be C. Specifically, your Makefile must build an executable named info. When run, info should read the input file from standard input, and write summary information to standard output. If the input file is invalid, then display an appropriate error message to standard error, that indicates why the input file is invalid. Otherwise, if the input file is valid, then the following should be written to standard output:


Related Questions in computer science category