display a random quote from a quote file
Compile with: g++ -std=c++17 quoter.cpp -o quoter
.
Enter your quotes in a file called quotes.txt
.
The format of quotes.txt
is as follows:
<number of quotes>
quote 1
quote 2
...
The quotes.txt
included in this repo is an example file that demonstrates the format.
Usage is as follows:
./quoter
That's it! It should print a random quote.