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

Commitc62e921

Browse files
committed
Create Jupyter Notebooks from Markdown sources
1 parent10ffe01 commitc62e921

12 files changed

+7578
-0
lines changed

‎README.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ All of the source Markdown pages for the Modern C++ Tutorial on https://learnmod
66

77
**Note:** Some Chapters have had significant changes made to update them to C++23, and not all programs compile successfully yet. In particular, use of`std::println()` with`import std;` does not compile. In case of issues with your compiler please see the Releases page for the C++20 version of the Tutorial.
88

9+
**New:** Jupyter Notebooks have been auto-generated from the source Markdown files and are located in the`jupyter-notebooks` directory. You will need the executable`jupyter-lab` available with suitable C++ kernels, see output from running`jupyter kernelspec list` (tested with kernel`cpp23`, which needs to be set on first load).
10+
911
The "headers" subdirectory contains C++ programs with legacy header`#includes`, whilst the "modules" subdirectory contains the same programs using the`import` keyword instead. Seehttps://learnmoderncpp.com/2020/09/05/where-are-c-modules/ for more details about C++ compilers which have support for modules.
1012

1113
The "scripts" subdirectory contains a C++ program which extracts all programs from the Markdown source to the above two folders.

‎jupyter-notebooks/01-string-and-character-literals.ipynb‎

Lines changed: 257 additions & 0 deletions
Large diffs are not rendered by default.

‎jupyter-notebooks/02-variables-scopes-and-namespaces.ipynb‎

Lines changed: 720 additions & 0 deletions
Large diffs are not rendered by default.

‎jupyter-notebooks/03-conditions-and-operators.ipynb‎

Lines changed: 550 additions & 0 deletions
Large diffs are not rendered by default.

‎jupyter-notebooks/04-functions.ipynb‎

Lines changed: 741 additions & 0 deletions
Large diffs are not rendered by default.

‎jupyter-notebooks/05-arrays-pointers-and-loops.ipynb‎

Lines changed: 690 additions & 0 deletions
Large diffs are not rendered by default.

‎jupyter-notebooks/06-enums-and-structs.ipynb‎

Lines changed: 688 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp