25 lines
449 B
Markdown
25 lines
449 B
Markdown
|
# Knapsack
|
||
|
|
||
|
### Author: Gregory Crawford
|
||
|
|
||
|
## Compiling the Project
|
||
|
In order to compile the project, simply run these two commands:
|
||
|
|
||
|
cmake -B build -S .
|
||
|
cmake --build build
|
||
|
|
||
|
## Running the Project
|
||
|
The program should now be compiled at ./build/bin/knapsack
|
||
|
|
||
|
Simply run the program using:
|
||
|
|
||
|
build/bin/knapsack <file>
|
||
|
|
||
|
## Options
|
||
|
The second argument of the program is used as the input file.
|
||
|
|
||
|
EX:
|
||
|
|
||
|
build/bin/knapsack file/to/use.txt
|
||
|
|