Need Help with this Question or something similar to this? We got you! Just fill out the order form (follow the link below), and your paper will be assigned to an expert to help you ASAP.
Create an object-oriented programming (OOP) program that manages myOhlone. Write a main.cpp, myOhlone.h, and myOhlone.cpp, login
1) Create loginInfo.h and loginInfoImp.cpp that contains fieldnames: username, password, login datetime, logout datetime.
– Read users.csv Download users.csv (click to download) and prompt the user to the login screen menu, like
Compose a class LoginInfo
private:
string username;
string password;
DateTime loginDateTime; // datetime format dd-mm-yyyy hh:mm:ss
DateTime loginDateTime // datetime format dd-mm-yyyy hh:mm:ss
Login Menu
=====================
l – Login – prompt the user – username and password, and authentication
c – Create Account
r – Reset Password
x – Exit login menu
3) Create a class PersonType
private:
string firstName; // first name (id)
string lastName; // last name (password)
string address; // student address
string city; // student’s city
string state; // student’s state
string zip; // student zip code
string phone; // student’s phone number
4) Create a class StudentType: public PersonType
private:
string studentID;
5) Create a class FacultyType: public PersonType
private:
string facultyID;
string departmentName;
6) Compose CourseType (from Lab 1)
Class CourseType
private:
FacultyType instructor.
DateType startDate; // convert previous date string to class DateType
DateType endDate; // convert previous date string to class DateType
7) Create a class DateTime : public DateType
private:
int hr; //variable to store the hours
int min; //variable to store the minutes
int sec; //variable to store the seconds
8) Compose a class myOhlone.h/myOhone.cpp
Class MyOhlone
private:
vector
PersonType student;
LoginInfo loginInfo;
Note:
Use the class constructor for dynamically allocate memory for CourseType
Initialize the list of CourseType
ex. CourseType *pCourseType = new CourseType(…);
Use the class destructor to free the memory used for CourseType
Free CourseType
ex. delete pointer;
9) Once authenticated, the user is presented with the main menu
Main Menu
=====================
p) Student Profile
s) MyOhlone
o) Logout
x) Exit Login Menu
10) Choice p: show Student Profile Menu:
Student Profile Menu
=====================
s) Show student profile: First Name, Last Name, student ID, address, city, state, zip, phone
e) Edit student profile
x) Exit
11) Choice s: show MyOhlone (Lab 1)
– Exit from Student Profile menu goes back to Main Menu:
– Logout goes back to ask login info
– Exit Login Menu exit the program
(THIS IS THE LAB 1 MyOhlone) I will attach the courses csv file as well.
Create an object-oriented programming (OOP) program that manages your Canvas. Write a main.cpp, course.h, and courseImp.cpp
Course Menu
=====================
d – Display list of courses
v – View course details
a – Add a course
e – Edit a course
d – Delete a course
x – Exit program
Requirements
• Given a comma-delimited text file named courses.csv Download courses.csv (click to download) that stores the starting data for the program.
A course is an organized presentation about a particular subject that includes Term, Year, Start Date, End Date, Course Name, Class ID, Section, Meeting Days, Location (online, hybrid, or on-campus), Meeting Information, Instructor, Units.
• For the view, edit, and delete commands, display an error message if the user selects an invalid course.
• Define a data structure to store the data for each course.
• When you start the program, it should read the courses from the comma-delimited text file and store them in a vector of courses.
• When reading data from the text file, you can read the line and separate the field by an all text up to the next comma (ex. getline() function).
• When you add, edit or delete a course, the change should be saved to the text file immediately. That way, no changes are lost, even if the program crashes later.
• Use an enumeration to specify the valid commands for the program (d, v, a, e, d, x).
• For demonstration, you need to be able to view/add/edit/delete at least 3 courses listed
In the attachment is file of a template of how the second lab should be completed with all the header files implementation files and main file. As well as the courses.csv file for the first lab and the users.csv file for the second labe