Skip to content

kierrabl/A4_COMP2404

Repository files navigation

## Assignment 4

## .cc Files

- Channel.cc:        Contains Channel meta-data as well as a collection of Media
- Control.cc:        Manages the interactions of MediaTube, MediaFactory, and View. Stores the Media playlist
- main.cc:           Main file
- Media.cc:          Contains Media meta-data and content
- MediaFactory.cc:   Creates Media objects from a file, creates Channel objects, and provides search functionality by owner, category, or both.
- MediaPlayer.cc:    Determines how to play an Media (either "audio" only, or "audio and video", where audio is text and video is random ASCII art)
- MediaTube.cc:      Stores Channels along with their Media, allows them to be queried
- Search.cc:         Virtual base class of all Search objects (O_Search, C_Search, and OorC_Search)
- test.cc:           Test file
- TestControl.cc:    Test framework for MediaTube
- Tester.cc:         Provides some common test functionality
- View.cc:           Collects user input and displays Channels, Media and other information

## Header Files

- Array.h
- Channel.h
- Control.h
- defs.h
- Media.h
- MediaFactory.h
- MediaPlayer.h
- MediaTube.h
- Search.h
- TestControl.h
- Tester.h
- View.h

Makefile: Compiles, links, and cleans up of the program

## Building and Running
1. Open a terminal and navigate to the folder containing the program's files
2. Type the command make to compile all source files and link them together
3. You should get no error messages to see that this works. If there is an error message, double check your current path
4. From the directory, you can run ./test or ./a4 to execute and test the project
5. To check memory leaks, run ./test through valgrind
6. To remove object files and executables, you can run make clean

## Credits
- Developed individually by me Kierra Blankespoor (101263632)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages