Dvd Collection Organizer Code Explained

Submitted by: Submitted by

Views: 327

Words: 1808

Pages: 8

Category: Other Topics

Date Submitted: 07/19/2011 11:49 AM

Report This Essay

I. Overview

DVD Collection Organizer

A DVD collection organizer is a storage of information of DVDs you own. It allows you to keep track of your complete DVD list and gives you an easy way to access every information you need to know about your DVD. It helps you track where your DVDs are, where it came from, how much it costs, the date you bought it, the date it was released, the actors and actresses and the genre of the movie.

The creation of this DVD organizer is given as a Machine Problem for CS 11 students of the academic year 2009-2010, 2nd semester, handled by Sir Michael T. Echavez. It is an application of the concepts learned in CS 11 programming such as: Basic Data Types, Operations, Conditional statements, Looping Structures, Structures, File Manipulation, Sorting and Searching.

II. List of functions / procedures

void rules(void);

- A procedure that displays the instructions for the proper way of listing DVDs

void NoEmptyFields(void);

- A procedure that displays an error message for every field that is left blank

void DVDcount(int num);

- A procedure that displays the total number of DVDs stored in your organizer.

int Add(int num);

- A function that adds DVD. It returns 1 for every successfully appended DVD to the file and -1 for unsuccessful ones.

int Edit(int num);

- A function that allows you to edit an existing DVD. It returns 1 for every successfully edited DVD and -1 for unsuccessful ones.

int Search(int num, int ultcheck, int *num3);

- A function that lets you search through your DVD list. It returns 1 for every successfully searched DVD and -1 for unsuccessful ones.

int Clear(int num);

- A function that lets you delete or remove an existing DVD in the organizer

int View(int num);

- A function the lets you view the details of a certain DVD.

int...