From c725fddf501ac403e0934510cb09c038ab165534 Mon Sep 17 00:00:00 2001 From: rurun <107459257+rurun418@users.noreply.github.com> Date: Mon, 11 May 2026 13:06:54 +0900 Subject: [PATCH 1/3] Update index.md --- docs/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/index.md b/docs/index.md index 3f2ea512..10a9d96c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -56,9 +56,11 @@ hero: - [7.2 引数](/cpp/chapter-7/2) - [7.3 返り値](/cpp/chapter-7/3) - [7.4 [発展] 参照渡し](/cpp/chapter-7/4) + - [練習問題](/cpp/chapter-7/problems/) - [8. 構造体](/cpp/chapter-8/) - [8.1 構造体とは](/cpp/chapter-8/1) - [8.2 メソッド](/cpp/chapter-8/2) + - [練習問題](/cpp/chapter-8/problems/) ::: details 2025年度版テキスト From 0ec7a344736a10d95a325b08d57e560b6148e333 Mon Sep 17 00:00:00 2001 From: rurun <107459257+rurun418@users.noreply.github.com> Date: Mon, 11 May 2026 13:07:34 +0900 Subject: [PATCH 2/3] Add practice problems links to C++ chapters --- docs/cpp/index.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/cpp/index.md b/docs/cpp/index.md index 3f2ea512..10a9d96c 100644 --- a/docs/cpp/index.md +++ b/docs/cpp/index.md @@ -56,9 +56,11 @@ hero: - [7.2 引数](/cpp/chapter-7/2) - [7.3 返り値](/cpp/chapter-7/3) - [7.4 [発展] 参照渡し](/cpp/chapter-7/4) + - [練習問題](/cpp/chapter-7/problems/) - [8. 構造体](/cpp/chapter-8/) - [8.1 構造体とは](/cpp/chapter-8/1) - [8.2 メソッド](/cpp/chapter-8/2) + - [練習問題](/cpp/chapter-8/problems/) ::: details 2025年度版テキスト From 1336ccfc2cfc64ccafa6a4ed85bb2ea0d2cae6cf Mon Sep 17 00:00:00 2001 From: rurun <107459257+rurun418@users.noreply.github.com> Date: Mon, 11 May 2026 13:08:35 +0900 Subject: [PATCH 3/3] Fix missing semicolon in max_of_three example --- docs/cpp/chapter-7/problems/max-of-three.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/cpp/chapter-7/problems/max-of-three.md b/docs/cpp/chapter-7/problems/max-of-three.md index 56255285..070a027f 100644 --- a/docs/cpp/chapter-7/problems/max-of-three.md +++ b/docs/cpp/chapter-7/problems/max-of-three.md @@ -14,7 +14,7 @@ using namespace std; int main() { int a, b, c; - cin >> a >> b >> c + cin >> a >> b >> c; cout << max_of_three(a, b, c) << endl; } ``` @@ -80,7 +80,7 @@ int max_of_three(int x, int y, int z) { int main() { int a, b, c; - cin >> a >> b >> c + cin >> a >> b >> c; cout << max_of_three(a, b, c) << endl; } ```