项目作者: timgarvin

项目描述 :
A Students Enrollment system using a Finite Set data structure represented as an Array.
高级语言: C++
项目地址: git://github.com/timgarvin/Students-Enroller_-_Array-Version.git


Description

Students Enroller (Array Version) is a C++ program that allows the user to enroll students, remove students, or print students’ information using a Finite Set data structure (represented as an array). This program is made-from-scratch and does not utilize the C++ Standard Template Library (STL).

Compilation and Execution

  • Compile: g++ *.cpp
  • Run Program: ./a.out

Program Commands

  • add \ \ \ \ \: Adds a student to the Finite Set.
    • Examples:
      1. students> add Bugs Bunny 3229 Junior Business
      2. students> add Donald Duck 230 Junior ComputerScience
  • remove \: Removes a student from the Finite Set. Returns true if that student has been removed. Returns false if that student does not exist.
    • Examples:
      1. students> remove 123
      2. false
      3. students> remove 230
      4. true
  • print \: Prints a students’ information from the Finite Set.
    • Possible Attributes: firstname | lastname | id | classification | major
    • Examples:
      1. students> print firstname
      2. Bugs-Donald
      3. students> print major
      4. Business-ComputerScience
  • quit: Exits the program.

Technologies Used

  • C++
  • Linux
  • PuTTY
  • WinSCP

Data Structures Used

  • Finite Set

Notes

  • This program should be compiled and executed in a Linux Operating System environment.
  • This program has been tested extensively, without error, through the University of North Texas’s Praktomat testing system.