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

📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly

License

NotificationsYou must be signed in to change notification settings

coderadhika/modern-cpp-tutorial

 
 

Repository files navigation

logo

Modern C++ Tutorial: C++11/14/17/20 On the Fly

Purpose

The book claims to be "On the Fly". Its intent is to provide a comprehensive introduction to the relevant features regarding modern C++ (before 2020s).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

  • This book assumes that readers are already familiar with traditional C++ (i.e. C++98 or earlier), or at least that they do not have any difficulty in reading traditional C++ code. In other words, those who have long experience in traditional C++ and people who desire to quickly understand the features of modern C++ in a short period of time are well suited to read the book.

  • This book introduces, to a certain extent, the dark magic of modern C++. However, these magic tricks are very limited, they are not suitable for readers who want to learn advanced C++. The purpose of this book is offering a quick start for modern C++. Of course, advanced readers can also use this book to review and examine themselves on modern C++.

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 bookhere. 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 ment to test whether you have mastered the knowledge in the current chapter. You can find the possible answer to the problemhere. Again, the folder name is the chapter number.

Website

The source code of thewebsite of this book can be foundhere, which is built byhexo andvuejs. 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 usingDocker. To build, simply run:

$ make build

Acknowledgements

This book was originally written in Chinese byChangkun 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 anIssue or start aPull request. For detailed guidelines and checklist, please refer toHow to contribute.

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

This project is also supported by:

Licenses

Creative Commons License
This work was written byOu Changkun and licensed under aCreative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License. The code of this repository is open sourced under theMIT license.

About

📚 Modern C++ Tutorial: C++11/14/17/20 On the Fly

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++50.3%
  • Stylus13.1%
  • HTML10.5%
  • Makefile7.8%
  • TeX7.8%
  • JavaScript6.4%
  • Other4.1%

[8]ページ先頭

©2009-2025 Movatter.jp