forked from matkatmusic/PFMCPP_Project1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.cpp
148 lines (129 loc) · 1.82 KB
/
main.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
#if false
/*
PFM::C++ For Musicians Task
Project 1 - Part 1 / 1
Chapter 2 Part 1 Task
Do this on a branch named "Part1"
write out 10 nouns.
for each of the 10 nouns, write out 3 actions it might perform, in plain english.
write out how you'd call that action in pseudo code, in the space between each block comment
If the action requires multiple words, use camelCaseToNameIt
don't forget the semi-colon after each statement
*/
/*
example)
Noun: arm
action 1: the arm extends
action 2: the arm flexes
action 3: the arm rotates conter-clockwise
*/
arm.extend();
arm.flex();
arm.rotateCounterClockwise(); //demonstrates CamelCase
/*
1)
Noun:
action 1:
action 2:
action 3:
*/
liquid.solidify();
liquid.spill();
liquid.flow();
/*
2)
Noun:
action 1:
action 2:
action 3:
*/
student.attendClasses();
student.makeReports();
student.giveExams();
/*
3)
Noun:
action 1:
action 2:
action 3:
*/
foot.kick();
foot.shave();
foot.wearShoe();
/*
4)
Noun:
action 1:
action 2:
action 3:
*/
clock.rotate();
clock.reset();
clock.changeBattery();
/*
5)
Noun:
action 1:
action 2:
action 3:
*/
bike.fix();
bike.ride();
bike.wash();
/*
6)
Noun:
action 1:
action 2:
action 3:
*/
human.born();
human.liveLife();
human.die();
/*
7)
Noun:
action 1:
action 2:
action 3:
*/
oscillator.frequency();
oscillator.type();
oscillator.maxValue();
/*
8)
Noun:
action 1:
action 2:
action 3:
*/
house.payBills();
house.clean();
house.sell();
/*
9)
Noun:
action 1:
action 2:
action 3:
*/
kitchen.cutVegetables();
kitchen.boilWater();
kitchen.washDishes();
/*
10)
Noun:
action 1:
action 2:
action 3:
*/
audioEngineer.prepareStems();
audioEngineer.addEffects();
audioEngineer.record();
#endif
#include <iostream>
int main()
{
std::cout << "good to go!" << std::endl;
return 0;
}