modern-cpp-tutorial README

The project's README from github.com/changkun/modern-cpp-tutorial. As one markdown file: README.md.

logo

Modern C++ Tutorial: C++11 to C++26 On the Fly

Purpose

The book claims to be "On the Fly". Its intent is to provide a comprehensive introduction to the relevant features of modern C++ (from C++11 through C++26). Readers can choose interesting content according to the following table of content to learn and quickly familiarize the new features you would like to learn. Readers should be aware that not all of these features are required. Instead, it should be learned when you really need it.

At the same time, instead of coding-only, the book introduces the historical background of its technical requirements (as simple as possible), which provides great help in understanding why these features came out.

In addition, the author would like to encourage readers to use modern C++ directly in their new projects and migrate their old projects to modern C++ gradually after reading the book.

Targets

Start

You can choose from the following reading methods:

Code

Each chapter of this book contains a lot of code. If you encounter problems while writing your own code with the introductory features of the book, reading the source code attached to the book might be of help. You can find the book here. All the code is organized by chapter, the folder name is the chapter number.

Exercises

There are few exercises at the end of each chapter of the book. These are meant to test whether you have mastered the knowledge in the current chapter. You can find the possible answer to the problem here. Again, the folder name is the chapter number.

Website

The source code of the website of this book can be found here, which is built by hexo and vuejs. The website provides you another way of reading the book, it also adapts to mobile browsers.

Build

If you are interested in building everything locally, it is recommended using Docker. To build, simply run:

$ make build

Acknowledgements

This book was originally written in Chinese by Changkun Ou.

The author has limited time and language skills. If readers find any mistakes in the book or any language improvements, please feel free to open an Issue or start a Pull request. For detailed guidelines and checklist, please refer to How to contribute.

The author is grateful to all contributors, including but not limited to Contributors.

Licenses

Creative Commons License
This work was written by Ou Changkun and licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under the MIT license.

modern-cpp-tutorial (changkun/modern-cpp-tutorial)

Searching Database…

Что это такое?Бесплатная книга, которая объясняет современные возможности C++ от C++11 до C++26. Она написана для тех, кто уже знает традиционный C++ (C++98 или более ранний) и хочет быстро освоить новое.
Это книга или практический курс по программированию?В первую очередь это книга, которую можно читать онлайн на GitHub, в PDF, EPUB или на отдельном сайте. Но к каждой главе прилагаются реальные примеры кода и упражнения с ответами, которые можно запустить самостоятельно.
Как устроена книга и с чего начать чтение?Материал разбит по главам, что соответствует структуре папок с кодом и ответами на упражнения. Можно сразу перейти к главе с нужной возможностью, не читая книгу целиком от начала до конца.
Нужно ли знать C++98, прежде чем читать эту книгу?Да, книга предполагает, что вы уже уверенно читаете традиционный код до C++11. Это не введение в сам C++, а руководство по его современным возможностям.
Подойдёт ли эта книга для изучения сложных, продвинутых тонкостей C++?Нет, она лишь в ограниченной степени касается современных приёмов C++ и прямо не предназначена для тех, кто стремится к продвинутому уровню владения языком. Однако опытные разработчики могут использовать её для самопроверки знаний.
Кому стоит читать эту книгу?Разработчикам с большим опытом в традиционном C++, которые хотят быстро освоить современные возможности, а также продвинутым читателям, которым нужно освежить знания или проверить себя в современном C++.
Эта книга изначально написана на английском языке?Нет, изначально её написал на китайском Changkun Ou, а позже она стала доступна и на английском. Автор просит сообщать об ошибках в языке.
Есть ли ответы к упражнениям?Да, для упражнений каждой главы есть соответствующие папки с ответами, пронумерованные в соответствии с главой.
Creator
changkun
Size
65.2 MB
Stars
25.9K
Age
10y
Commits · 90 Days