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).
- Compile: g++ *.cpp
- Run Program: ./a.out
- add <first-name> <last-name> <student-id> <classification> <major>: Adds a student to the Finite Set.
- Examples:
students> add Bugs Bunny 3229 Junior Business students> add Donald Duck 230 Junior ComputerScience
- Examples:
- remove <student-id>: Removes a student from the Finite Set. Returns true if that student has been removed. Returns false if that student does not exist.
- Examples:
students> remove 123 false students> remove 230 true
- Examples:
- print <attribute>: Prints a students' information from the Finite Set.
- Possible Attributes: firstname | lastname | id | classification | major
- Examples:
students> print firstname Bugs-Donald students> print major Business-ComputerScience
- quit: Exits the program.
- C++
- Linux
- PuTTY
- WinSCP
- Finite Set
- 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.