Student Data System
A C++ program that performs various functions on student data.
Scenario:
This is an application for managing student data which could be adapted for use by a school or similar organization.
– All student records
– Invalid email formats
– Average days
– Removal of records
.h Header Files:
– Create classes
– Create constructor methods
– Declare variables and functions
Degree Programs:
– Initialize a new enumerated data type
– Array of strings to display degree types
.cpp Files:
– Implement methods and variables
– Parse through records
– Destructor method removes objects
Dig into the details at the Github page.
Full Summary:
This is a C++ program built using the Visual Studio IDE. It is an application for managing student data that could be adapted for use by a school or similar organization. It parses data contained in a data table source, which further enables various operations to be performed on that data.
The methods implemented in this demonstration of the program’s functionality include the following:
- A method to parse and display all the data contained in the source data table.
- A method to search for invalid data strings. In this case, it searches for email addresses that are either missing an “@” sign or a “.”, or that contain spaces.
- A method to calculate the average among a set of the data fields. In this case, it calculates the average number of days a student has left to complete thier courses.
- A method to display only those records that share a data type. In this case, it displays those students in the “Software” degree program.A method to remove a record, and then to display the data set after the removal.
More methods could be added to this program to enhance the sets of data to be managed or retrieved or from it.