OS1/directories
2023-10-30 14:15:49 -07:00
..
csv_parser.c Final Fixes for bad file name 2023-10-30 14:15:49 -07:00
csv_parser.h Import libraries (I know they should be submodules but no one cares 2023-10-18 12:23:53 -07:00
directory_list.c Project Should be working 2023-10-30 03:25:48 -07:00
directory_list.h Project Should be working 2023-10-30 03:25:48 -07:00
input.c Project Should be working 2023-10-30 03:25:48 -07:00
input.h Project Should be working 2023-10-30 03:25:48 -07:00
makefile Project Should be working 2023-10-30 03:25:48 -07:00
movies_by_year.c Final Fixes for bad file name 2023-10-30 14:15:49 -07:00
movies_by_year.h Project Should be working 2023-10-30 03:25:48 -07:00
movies_sample_1.csv ghfdjfkjgjkg 2023-10-19 18:27:25 -07:00
node.c Import libraries (I know they should be submodules but no one cares 2023-10-18 12:23:53 -07:00
node.h Import libraries (I know they should be submodules but no one cares 2023-10-18 12:23:53 -07:00
readme.md Final Fixes for bad file name 2023-10-30 14:15:49 -07:00

Movies_by_year

This is a program which reads a CSV file with data about movies. It reads a specified, the largest, or smallest file in the directory. It also sorts the movies by year and places them in other files. Please take care that the format is correct as the program does not parse arbitrary length CSV files.

Compiling

You can compile this program by using the make command or by hand.

Simply type:

make

or, to manually compile, type:

gcc -std=c99 -g *.c -o movies_by_year

Running

To run, type:

make run

To specify a CSV file, you can type:

./movies_by_year