Add readme for assign2
This commit is contained in:
parent
a5f54c2528
commit
57be625338
1 changed files with 38 additions and 0 deletions
38
directories/readme.md
Normal file
38
directories/readme.md
Normal file
|
@ -0,0 +1,38 @@
|
|||
|
||||
# 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 $(CSV_File_to_read.csv)
|
||||
```
|
Loading…
Reference in a new issue