Quotes.h 493 Bytes
Newer Older
Noah Olsen's avatar
commit  
Noah Olsen committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
/*************************************************************************
 *
 * Homework 4:  Exploring continuous deployment.
 *
 * File Name: quote.h
 * Course:    CPTR 245
 *
 */

#include <string>
#include <vector>

struct Quote {
    std::string student;
    std::string quote;
    std::string author;
};

class Quotes {
  private:
    std::vector<Quote> quotes;
    unsigned int seed;

  public:
    explicit Quotes(unsigned int);
    Quote getRandomQuote();
    Quote getQuote(int);
};