Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7bc70c1

Browse files
committed
Update for v1.2
1 parentf8757c8 commit7bc70c1

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
usingnamespacestd;

‎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
intmain() {
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
intmain() {
13-
cout <<"Please enter some text in lower-, mixed- orupper-case:\n";
13+
cout <<"Please enter some text in lower, mixed oruppercase:\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)

[8]ページ先頭

©2009-2025 Movatter.jp