You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each person in the pair needs to git clone this repo
Decide, who is Person A and who is Person B
Tasks will be appearing below. After you complete one, another one appears. There is 10 in total.
First 6 tasks are always only for one person (it alternates between A and B)
In the remaining tasks, you will work in parallel and might even need to resolve some conflicts.
Tasks
Person A - pod.cpp - Name your pod
Open pod.cpp file and locate TASK 1
Type the name for your pod inside the double-quotes (you should discuss the choice of the name with your teammate)
Person B - pod.cpp - Choose max speed
Open pod.cpp file and locate TASK 2
Tell us what the max speed of your pod is by replacing the 0 in the code with a real number
Person A - pod.h and pod.cpp - Tempereture inside the pressure vessel
Open pod.h, locate place for TASKS 3&4 and copy-paste the following line there
doubleget_temperature();
Open pod.cpp, locate place for TASKS 3&4 and copy-paste the following code there (you can change the 0 there if you want a more comfortable temperature)
doublePod::get_temperature()
{
return0;
}
When done, commit both files in a single commit (ofc don't forget push and stuff as always)
Person B - pod.h and pod.cpp - Pressure inside the pressure vessel
Open pod.h, locate place for TASKS 3&4 and copy-paste the following line below the one from previous task
doubleget_pressure();
Open pod.cpp, locate place for TASKS 3&4, copy the following code and paste it below the function from previous task (you can change the 0 there if you want a more comfortable pressure)
doublePod::get_pressure()
{
return0;
}
When done, commit both files in a single commit (ofc don't forget push and stuff as always)
Person A - main.cpp and Makefile - Main executable
Create a new file called main.cpp and copy the following code to it