|
IN101 project on Conway's Game of Life
|
Source file for an options parser for a linked list implementation of Conway's game of life. More...
#include "list_optionsparser.h"
Functions | |
| list_options | list_default_options () |
| void | print_usage (char *exec_name) |
| Print usage help message and crash program. More... | |
| void | do_print_formatting_help () |
| Print source textfile formatting help and crash program. | |
| list_options | parse_options (int argc, char **argv) |
| Parse options from command line arguments. More... | |
Source file for an options parser for a linked list implementation of Conway's game of life.
| list_options parse_options | ( | int | argc, |
| char ** | argv | ||
| ) |
Parse options from command line arguments.
Function will modify print_formatting_help, print_to_console and generate_images booleans accordingly and return the first positional argument, which should be the filename.
| void print_usage | ( | char * | exec_name | ) |
Print usage help message and crash program.
| exec_name | executable name (usually from argv[0]) |
1.8.13