Skip to content

Commit 7bc70c1

Browse files
committed
Update for v1.2
1 parent f8757c8 commit 7bc70c1

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

modules/05-begin-end.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// 05-begin-end.cpp : demostration of the use of begin() and end()
1+
// 05-begin-end.cpp : demonstration of the use of begin() and end()
22

33
import std;
44
using namespace std;

modules/07-set.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ using namespace std;
55

66
int main() {
77
set<string> s{
8-
"Rossum, Guido van",
8+
"Stroustrup, Bjarne",
99
"Yukihiro, Matsumoto",
1010
"Wall, Larry",
1111
"Eich, Brendan"

modules/07-string-upper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ void string_to_uppercase(string &s) {
1010
}
1111

1212
int main() {
13-
cout << "Please enter some text in lower-, mixed- or upper-case:\n";
13+
cout << "Please enter some text in lower, mixed or uppercase:\n";
1414
string input;
1515
getline(cin, input);
1616
string_to_uppercase(input);

modules/09-person2.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ int main() {
7272

7373
auto [ id, salary ] = genius_employee.getDetails();
7474
cout << "ID: " << id << ", Salary: $" << salary << '\n';
75-
year_month_day next_bday{ 2023y, March, 14d };
75+
year_month_day next_bday{ 2024y, March, 14d };
7676
if (genius_employee.isBirthdayToday(next_bday)) {
7777
cout << "Happy Birthday!\n";
7878
}

modules/09-person3.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ int main() {
5050
else {
5151
cout << "the same age as ";
5252
}
53-
cout << "person2" << '\n';
53+
cout " person2\n";
5454
}

0 commit comments

Comments
 (0)