Advertisement
myothra7777

video.h

Feb 28th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.60 KB | None | 0 0
  1. //video.h
  2. //Davidson, Dylan
  3. //ddavidson10
  4.  
  5. #ifndef VIDEO_H
  6. #define VIDEO_H
  7. #include <string>
  8. using namespace std;
  9.  
  10. class Video
  11. {
  12.   public:
  13.     Video(string title, string url, string comment, double length, int rating);
  14.     void print();
  15.     bool longer(Video *other);
  16.     bool alphabetical(Video *other);
  17.     bool rating(Video *other);
  18.     string getTitle();
  19.     string getUrl();
  20.     string getComment();
  21.     double getLength();
  22.     int getRating();
  23.  
  24.     private:
  25.       string m_title;
  26.       string m_url;
  27.       string m_comment;
  28.       double m_length;
  29.       int m_rating;
  30. };
  31.  
  32.  
  33. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement