Project on Visual studio. Attached instructions and hints on assignment document

Project on Visual studio. Attached instructions and hints on assignment document as well. The attached “Healthcare.exe” file is how the project should be at the end and how the setup from the coding should look like by the end. Open the “Healthcare.sln” to start and work off of that. I attached the “util.cs” file from a past assignment that you will need.

The correction that needs to be done in P2P.text. Code in C language more than 3

The correction that needs to be done in P2P.text. Code in C language more than 300 lines of code and program must include search join republish and fetch. Corrections are below in the Correction P2P.txt. I did join the search and republish part but it needs a little bit of correction and you need to add the fetch part. The code should be more than 250 lines.Send ,e the code in txt file
Thanks

I already have the basics of the assignment made I just need some revisions to f

I already have the basics of the assignment made I just need some revisions to fit the rubric, the rubric is provided below. please make sure you can follow the rubric and i also included the requirements and scenario and then in the sms3 zip we have the work that has already been done. Thank you.

We have seen the refactoring of the ROUV into the new Explorer class undersea dr

We have seen the refactoring of the ROUV into the new Explorer class undersea drone.
We would like to do the same with the ROUVMk2 to produce the ExplorerMk2.
Oddly enough much of the work has been done for you, but the test team is too busy with the new Ground Rover treaded vehicle to assist with the refactoring test of the Explorer Mk2.
Your task is therefore in two parts.
First, using either the working ROUVMk2 components, or the already refactored parts from the existing Explorer, build a refactored Explorer Mk2 with the following classes:
ROUV – the chassis
Camera – the camera and lights
RoboticArm – the robotic arm methods and variables
Second, refactor the ROUVMk2Test.cpp file to an ExplorerMk2Test.cpp file and use that to test your class. You should be able to borrow much of the code from ExplorerTest.cpp in your example ROUV-Refactored folder in canvas.
Deliverables:
Header and CPP files for:
ROUV – the chassis
Camera – the camera and lights
RoboticArm – the robotic arm class
ExplorerMk2 – the main subclass from ROUV, Camera, and RoboticArm
ExplorerMk2Test.cpp – Your refactored test code.
A screenshot of the successfully executed test run.

Assignment 1 needs to be completed to the end. Milestone 1,2,3 have already been

Assignment 1 needs to be completed to the end. Milestone 1,2,3 have already been made, only MileStone 4 remains (only the code to match the output specified in Assignment1.pdf.
Note: you only need to make the code so that it is one-to-one as in the “A1-MS4: Sample Output” in the Assignment1.pdf file ( P.S you don’t need to do reflection). Thank you in advance!

You will be building upon what you have made for an event planning system to cre

You will be building upon what you have made for an event planning system to create a Schedule class. You will be using the Time and Date classes while the Event class will now be used as an abstract class with derived classes Birthday and Concert. You will finish implementing the Schedule, Event, Birthday, and Concert classes.
Event Class
To make the Event class an abstract base class, you will declare some pure virtual functions. It is up to you to figure out what should and should not be a virtual function. Event will also need a virtual destructor. Hint: To figure out if a function should be virtual, think about derived classes using the function and if what they do should differ from each other based on what derived class they are called from.
All protected data members have their own get and set functions.
This class will also have one more protected string called type which specifies what type the derived class object is.
Birthday Class
This class is a derived class of the Event class. It has the private data member
string gifts
Constructor: The constructor for the Birthday class will take three strings, a time, and a date as input. The first is the description, the second is the location, third is time, fourth is date. and the fifth are the gifts.
Assigns type to be “birthday”.
The constructor has been provided for you.
printSummary: This function overrides Event’s printSummary function.The function will output to standard output with cout. There will be five lines that will be output:
The description
The location
The time
The date
The gifts
Karl’s birthday
Bounce house
Time: 13:30:0
Date: 14/3/2020
Gifts: bike, pillow
The end of the function should output an endl.
Concert Class
This class is a derived class of the Event class.
It has the private data member
int tickets
Constructor: The constructor for the Concert class will take two strings, a time, a date, and the number of tickets as input. The first is the description, the second is the location, third is time, fourth is date. and the fifth are the number of tickets.
Assigns type to be “concert”.
The constructor has been provided for you.
printSummary: This function overrides Event’s printSummary function. The function will output to standard output with cout. There will be five lines that will be output:
The description
The location
The time
The date
The number of tickets
Houston Symphony
Jones Hall Houston, TX
Time: 20:0:0
Date: 6/11/2021
Tickets: 2
The end of the function should output an endl.
Schedule Class
This class will be handling multiple events for us.
The data members the Schedule class has are:
int size
int numBd
int numC
Event* events[MAXNUMEVENTS]
Time time
Date date
The time and date represent today’s time and date in the schedule.
Constructor: Schedule’s constructor takes in a int for the number of events the Schedule object will have and a time and date for today.
Schedule(int numEvents, Time t, Date d);
The size data member is assigned numEvents. The events data member has its elements assigned to be nullptr.
setEvents: This function takes in an int variable s and an Event* const array named newEvents.
Assign s to size. Copy the elements from newEvents to our events array.
Each element of the events array must be assigned new addresses before copying the newEvents element’s events. You should check what other’s event element type is to properly assign a new address for either Birthday or Concert. Since the newEvents array is an Event* const array, you must cast the dereferenced element into either a Birthday or Concert reference when copying from newEvents’ array.
Destructor The destructor must free up the memory that the pointers have used.
Hint: You must loop through the events array and delete each element as each element is a pointer. Make sure they are not nullptr before deleting.
Copy Constructor: you must do a memberwise copy of of size, numBd, numC, time, and date. Finally, you may use the setEvents function to initialize the events array.
Copy Assignment Operator: similar to the copy constructor, make sure to assign events based on their type.
eventsFromInput: this function is provided for you. This function is what will be getting the event information from standard input. They are not ordered by time or date.
There will be 10 lines of information for each event.
The first will be the type of event. (Birthday or Concert)
The description
The location
The hours
The minutes
The seconds
The day
The month
The year
Either a string that are gifts for the Birthday class, or the number of tickets for the Concert class. When you get a birthday event, increment numBd. When you get a concert event, increment numC.
Example input:
birthday
Karl’s birthday
Bounce house
13
30
0
14
3
2020
bike, pillow
getFirstEventDate: this function returns the Date of the event that is the earliest in the Schedule object’s events array. You will have to compare the dates and time in the events array to do this. This function is given to you.
Date getFirstEventDate();
getLastEventDate: this function returns the Date of the event that is the latest in the Schedule object’s events array. You will have to compare the dates and time in the events array to do this. You can base this function off of what was done for the getFirstEventDate function.
Date getLastEventDate();
eventsPassed: this function returns the number of events that have already passed in the schedule. You will need to compare the events in the events array with the Schedule object’s time and date member variables which represent todays date and time.
printSummary: this function gives a brief overview of what is in the schedule and then outputs the events in the order given from input.
The output is formatted like:
“Today is ” [date] ” ” [time]
[first event’s date] “—” [last event’s date]
[events passed] ” events have passed.”
endl
printSummary of each event (birthday or concert) in the schedule.
Today is 2/2/2021 1:1:1
29/1/2021—14/3/2022
1 events have passed.
John’s birthday
Park
Time: 12:30:30
Date: 29/1/2021
Gifts: kite, bike
Kyogo
Minute Maid Park – Houston, Tx
Time: 18:30:0
Date: 13/11/2021
Tickets: 3

main.cpp
This has been provided for you. The first 7 lines from input will give:
The number of events
The hours
The minutes
The seconds
The day
The month
The year These allow us to make a Schedule obj in main. After the object is made, it must use the eventsFromInput function to get the events from standard input. Then if should call the printSummary function.

You will be building upon what you have made for an event planning system to cre

You will be building upon what you have made for an event planning system to create a Schedule class. You will be using the Time and Date classes while the Event class will now be used as an abstract class with derived classes Birthday and Concert. You will finish implementing the Schedule, Event, Birthday, and Concert classes.
Event Class
To make the Event class an abstract base class, you will declare some pure virtual functions. It is up to you to figure out what should and should not be a virtual function. Event will also need a virtual destructor. Hint: To figure out if a function should be virtual, think about derived classes using the function and if what they do should differ from each other based on what derived class they are called from.
All protected data members have their own get and set functions.
This class will also have one more protected string called type which specifies what type the derived class object is.
Birthday Class
This class is a derived class of the Event class. It has the private data member
string gifts
Constructor: The constructor for the Birthday class will take three strings, a time, and a date as input. The first is the description, the second is the location, third is time, fourth is date. and the fifth are the gifts.
Assigns type to be “birthday”.
The constructor has been provided for you.
printSummary: This function overrides Event’s printSummary function.The function will output to standard output with cout. There will be five lines that will be output:
The description
The location
The time
The date
The gifts
Karl’s birthday
Bounce house
Time: 13:30:0
Date: 14/3/2020
Gifts: bike, pillow
The end of the function should output an endl.
Concert Class
This class is a derived class of the Event class.
It has the private data member
int tickets
Constructor: The constructor for the Concert class will take two strings, a time, a date, and the number of tickets as input. The first is the description, the second is the location, third is time, fourth is date. and the fifth are the number of tickets.
Assigns type to be “concert”.
The constructor has been provided for you.
printSummary: This function overrides Event’s printSummary function. The function will output to standard output with cout. There will be five lines that will be output:
The description
The location
The time
The date
The number of tickets
Houston Symphony
Jones Hall Houston, TX
Time: 20:0:0
Date: 6/11/2021
Tickets: 2
The end of the function should output an endl.
Schedule Class
This class will be handling multiple events for us.
The data members the Schedule class has are:
int size
int numBd
int numC
Event* events[MAXNUMEVENTS]
Time time
Date date
The time and date represent today’s time and date in the schedule.
Constructor: Schedule’s constructor takes in a int for the number of events the Schedule object will have and a time and date for today.
Schedule(int numEvents, Time t, Date d);
The size data member is assigned numEvents. The events data member has its elements assigned to be nullptr.
setEvents: This function takes in an int variable s and an Event* const array named newEvents.
Assign s to size. Copy the elements from newEvents to our events array.
Each element of the events array must be assigned new addresses before copying the newEvents element’s events. You should check what other’s event element type is to properly assign a new address for either Birthday or Concert. Since the newEvents array is an Event* const array, you must cast the dereferenced element into either a Birthday or Concert reference when copying from newEvents’ array.
Destructor The destructor must free up the memory that the pointers have used.
Hint: You must loop through the events array and delete each element as each element is a pointer. Make sure they are not nullptr before deleting.
Copy Constructor: you must do a memberwise copy of of size, numBd, numC, time, and date. Finally, you may use the setEvents function to initialize the events array.
Copy Assignment Operator: similar to the copy constructor, make sure to assign events based on their type.
eventsFromInput: this function is provided for you. This function is what will be getting the event information from standard input. They are not ordered by time or date.
There will be 10 lines of information for each event.
The first will be the type of event. (Birthday or Concert)
The description
The location
The hours
The minutes
The seconds
The day
The month
The year
Either a string that are gifts for the Birthday class, or the number of tickets for the Concert class. When you get a birthday event, increment numBd. When you get a concert event, increment numC.
Example input:
birthday
Karl’s birthday
Bounce house
13
30
0
14
3
2020
bike, pillow
getFirstEventDate: this function returns the Date of the event that is the earliest in the Schedule object’s events array. You will have to compare the dates and time in the events array to do this. This function is given to you.
Date getFirstEventDate();
getLastEventDate: this function returns the Date of the event that is the latest in the Schedule object’s events array. You will have to compare the dates and time in the events array to do this. You can base this function off of what was done for the getFirstEventDate function.
Date getLastEventDate();
eventsPassed: this function returns the number of events that have already passed in the schedule. You will need to compare the events in the events array with the Schedule object’s time and date member variables which represent todays date and time.
printSummary: this function gives a brief overview of what is in the schedule and then outputs the events in the order given from input.
The output is formatted like:
“Today is ” [date] ” ” [time]
[first event’s date] “—” [last event’s date]
[events passed] ” events have passed.”
endl
printSummary of each event (birthday or concert) in the schedule.
Today is 2/2/2021 1:1:1
29/1/2021—14/3/2022
1 events have passed.
John’s birthday
Park
Time: 12:30:30
Date: 29/1/2021
Gifts: kite, bike
Kyogo
Minute Maid Park – Houston, Tx
Time: 18:30:0
Date: 13/11/2021
Tickets: 3

main.cpp
This has been provided for you. The first 7 lines from input will give:
The number of events
The hours
The minutes
The seconds
The day
The month
The year These allow us to make a Schedule obj in main. After the object is made, it must use the eventsFromInput function to get the events from standard input. Then if should call the printSummary function.

You are hired as a contractor to help a university migrate an existing student s

You are hired as a contractor to help a university migrate an existing student system to a new platform using C++ language. Since the application already exists, its requirements exist as well, and they are outlined in the next section. You are responsible for implementing the part of the system based on these requirements. A list of data is provided as part of these requirements. This part of the system is responsible for reading and manipulating the provided data.
You must write a program containing two classes (i.e., Student and Roster). The program will maintain a current roster of students within a given course. Student data for the program include student ID, first name, last name, email address, age, an array of the number of days to complete each course, and degree program. This information can be found in the “studentData Table” below. The program will read a list of five students and use function calls to manipulate data (see part F4 in the requirements below). While parsing the list of data, the program should create student objects. The entire student list will be stored in one array of students called classRosterArray. Specific data-related output will be directed to the console.
studentData Table
The data should be input as follows:
const string studentData[] =
{“A1,John,Smith,John1989@gm ail.com,20,30,35,40,SECURITY”, “A2,Suzan,Erickson,Erickson_1990@gmailcom,19,50,30,40,NETWORK”, “A3,Jack,Napoli,The_lawyer99yahoo.com,19,20,40,33,SOFTWARE”, “A4,Erin,Black,Erin.black@comcast.net,22,50,58,40,SECURITY”, “A5,[firstname],[lastname],[emailaddress],[age], [numberofdaystocomplete3courses],SOFTWARE”
Requirements:
A.  Modify the “studentData Table” to include your personal information as the last item.
B.  Create a C++ project in your integrated development environment (IDE) with the following files:
•  degree.h
•  student.h and student.cpp
•  roster.h and roster.cpp
•  main.cpp
Note: There must be a total of six source code files.
C.  Define an enumerated data type DegreeProgram for the degree programs containing the data type values SECURITY, NETWORK, and SOFTWARE.
Note: This information should be included in the degree.h file.
D.  For the Student class, do the following:
1.  Create the class Student  in the files student.h and student.cpp, which includes each of the following variables:
•  student ID
•  first name
•  last name
•  email address
•  age
•  array of number of days to complete each course
•  degree program
2.  Create each of the following functions in the Student class:
a.  an accessor (i.e., getter) for each instance variable from part D1
b.  a mutator (i.e., setter) for each instance variable from part D1
c.  All external access and changes to any instance variables of the Student class must be done using accessor and mutator functions.
d.  constructor using all of the input parameters provided in the table
e.  print() to print specific student data
E.  Create a Roster class (roster.cpp) by doing the following:
1.  Create an array of pointers, classRosterArray, to hold the data provided in the “studentData Table.”
2.  Create a student object for each student in the data table and populate classRosterArray.
a.  Parse each set of data identified in the “studentData Table.”
b.  Add each student object to classRosterArray.
3.  Define the following functions:
a.  public void add(string studentID, string firstName, string lastName, string emailAddress, int age, int daysInCourse1, int daysInCourse2, int daysInCourse3, DegreeProgram degreeprogram)  that sets the instance variables from part D1 and updates the roster.
b.  public void remove(string studentID)  that removes students from the roster by student ID. If the student ID does not exist, the function prints an error message indicating that the student was not found.
c. public void printAll() that prints a complete tab-separated list of student data in the provided format: A1 [tab] First Name: John [tab] Last Name: Smith [tab] Age: 20 [tab]daysInCourse: {35, 40, 55} Degree Program: Security. The printAll() function should loop through all the students in classRosterArray and call the print() function for each student.
d.  public void printAverageDaysInCourse(string studentID)  that correctly prints a student’s average number of days in the three courses. The student is identified by the studentID parameter.
e.  public void printInvalidEmails() that verifies student email addresses and displays all invalid email addresses to the user.
Note: A valid email should include an at sign (‘@’) and period (‘.’) and should not include a space (‘ ‘).
f.  public void printByDegreeProgram(DegreeProgram degreeProgram) that prints out student information for a degree program specified by an enumerated type.
F.  Demonstrate the program’s required functionality by adding a main() function in main.cpp, which will contain the required function calls to achieve the following results:
1.  Print out to the screen, via your application, the course title, the programming language used, your WGU student ID, and your name.
2.  Create an instance of the Roster class called classRoster.
3.  Add each student to classRoster.
4.  Convert the following pseudo code to complete the rest of the  main() function:
classRoster.printAll();
classRoster.printInvalidEmails();
//loop through classRosterArray and for each element:
classRoster.printAverageDaysInCourse(/*current_object’s student id*/);
Note: For the current_object’s student id, use an accessor (i.e., getter) for the classRosterArray to access the student id.
classRoster.printByDegreeProgram(SOFTWARE);
classRoster.remove(“A3”);
classRoster.printAll();
classRoster.remove(“A3”);
//expected: the above line should print a message saying such a student with this ID was not found.
5.  Implement the destructor to release the memory that was allocated dynamically in Roster.
G.  Demonstrate professional communication in the content and presentation of your submission.

Modify the Vector on the shown example  below  by creating a Person Class, an Em

Modify the Vector on the shown example  below  by creating a Person Class, an Employer Class and a Personal Info Class. Use the Employer and PersonalInfo classes as member variables of a Person class. Modify the Vector class to hold People objects instead of Record objects. Modify the menu interface and input algorithms to accept data for the Employer and Personal Info classes via functions in the Person class. Modify the Output to print all the information in each Person object, associated Employer object, and associated Personal Info object. Make sure to separate the implementation of your classes from the header files. You should have a .cpp file and a .h file for each class you create.
HEADER.h
#include
#include
#include
using namespace std;
class Record
{
private:
int age;
long long int phone;
int record;
string first, last;
public:
Record();
Record(int, string, string, int, int);
void display();
void setData(int, string, string, int, int);
};
Record::Record()
{
record = 0;
age = 0;
phone = 0;
}
Record::Record(int rec, string first, string last, int ag, int phone)
{
record = rec;
first= first;
last = last;
age = ag;
phone= phone;
}
void Record::setData(int rec, string first, string last, int ag, int phone)
{
record = rec;
first = first;
last = last;
age = ag;
phoner = phone;
}
void Record::display()
{
cout << "n-------------------- Contact Information -------------------- n"; cout << "Record number: " << record << endl; cout << "First name: " << first << endl; cout << "Last name: " << last << endl; cout << "Age: " << age << endl; cout << "Phone number: " << phone << endl; } void menu() { cout << "n------------------------ Selection Menu ----------------------- n"; cout << " enter 1 to add contact" << endl; cout << " enter 2 to display contacts" << endl; cout << " enter 3 to end program" << endl; } VECTOR.cpp #include
#include
#include “Header.h”
int main()
{
int count = 0;
int record, age, choice;
long long int phone;
string first, last;
int size = 10;
// vector is used instead of the array
vector rec(10);
cout << " -------------| Vector |-------------n"; while (1) { menu(); cout << " input option: "; cin >> choice;
if (choice == 1)
{
if (count ==1000)
{
cout << " The contacts are full" << endl; } else { //if choice to enter contact, gather information cout << " enter record number: "; cin >> record;
cout << " enter contact first name: "; cin.ignore(); getline(cin, first); cout << " enter contact last name: "; getline(cin, last); cout << "enter contact age: "; cin >> age;
cout << "enter contact phone number: "; cin >> phone;
rec[count].setData(record, first, last, age, phone);
count++;
}
}
else if (choice == 2)
{
//if choice 2 is used show records
if (count == 0)
{
cout << "No contacts" << endl; } else { for (int i = 0; i < count; i++) { rec[i].display(); } } } else if (choice == 3) { return 0; } else { //when wrong option is entered show cout << "enter option from 1 to 3" << endl; } } return 0; }

Programming assignment has to be in ONLY C NOT C++ or C#. The program must use m

Programming assignment has to be in ONLY C NOT C++ or C#. The program must use malloc and make sure there aren’t any memory leaks or buffer overflow. You have to code in the estimate.c file in the src folder. The code must be tested with grader.py file.