Code Monkey home page Code Monkey logo

2020-1-oss-project's Introduction

This Project is for <2020-1 Open Sourse Software Lab, Handong Global University>

Author : Lee Wonbin Program : Managing movies in theater

The program consists of three files.

  1. movie_main.c

    • Managing all of the menus.
  2. movie.c

    • Library functions.
  3. movie.h

    • Structures, Macro, Function prototypes.

Details

  1. movie_main.c

    i) menu

    • Create
      Create a new movie record, and the information of that record is given from the user.

    • Read
      Read a movie record searched by a certain title.
      Or, read movie records searched by genre or distributor or minimum viewing age or state.

    • Update
      Update a movie record searched by a certain title.

    • Update by cases
      Update some movie records by genre or distributor or minimum viewing age or state.

    • Delete
      Delete a movie record searched by a certain title.

    • Delete by cases
      Delete some movie records by genre or distributor or minimum viewing age or state.

    • List
      Print all of the movie records.

    • Tidy up
      Araange the movie records so that there is no null pointer between valid movie records.

    • Sort
      Sort the movie records by title or genre or distributor or minimum viewing age or state. The standard is ASKII CODE.

    • Print statistics
      Print statistics about movie records on the screen.

    • Save statistics
      Save statistics about movie records to a certain data file.

    • Load
      Load movie records from a certain data file.

    • Save
      Save movie records to a certain data file.

    • Report
      Save movie records and their statistics to a certain data file, keeping a given form.

    ii) Characteristic

    • All of the movie_main.c's functions don't directly access to movie records. This means, this file is an application file.
  2. movie.c

    i) contents

    • It contains movie record pointer array.
    • It contains some limited info about movies. EX) genres, ages, states.
    • It contains functions that used movie_main.c.

    ii) Characteristic

    • There is no limit for directly accesing to movie record. Therefore, all of functions in this file can do so.

    iii) Kinds of Info

    • TITLE : naming by you or data file.
    • GENRE : Action, Melo, Thriller, Comedy, Mystery, Adventure, SF, Fantasy, Drama // Be careful at CAPITAL
    • DISTRIBUTOR : naing by you or data file.
    • MINIMUM VIEWING AGE : ALL, 7, 12, 15, 18
    • STATE : due for release, on screen
  3. movie.h

    • It just contains a structure type for movie record, and function decleraitons(prototypes) for both of movie_main.c and movie.c

ETC)

  1. Makefile
    : You can simply make a executable file via using make utility

    • make movie : movie executable file is made.
    • make movie_debug : movie executable file applied DEBUG is made. This file is for debugging.
    • make clean : remove all of the object files.
    • make cleanx : remove all of the object files and executable file(movie)
  2. data.txt
    : This file includes 50 movie information. And, this file exists for teting load menu.

2020-1-oss-project's People

Watchers

Wonbin Lee avatar

Forkers

cypark728

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.