Skip to content

Latest commit

 

History

History
349 lines (224 loc) · 11.3 KB

README_EN.md

File metadata and controls

349 lines (224 loc) · 11.3 KB

Stories About C Plus Plus

Thanks for all the support about << Stories About C ++ >>, right now you could open this link(https://light-city.club/sc/) to read this article. Any star, retweet or pr will be weclomed.

Notice: The website is not available now.


0. Directory

  • Chinese version:C++ 那些事
  • English version:Stories About C Plus Plus

This repository meets the need of people who wants to really know about C++, and may help you in the interview. Besides, it also provides other details,such as in-depth source code analysis and multi-threaded concurrency. It is a comprehensive C ++ repository from entry to advanced improvement

1.Foundation

2.Code Samples

2.1 10 Days Practice

  • day1

Basic Grammar About C ++

  • day2

Recursive、Structor、Enumerate、Static Variable

  • day3

Function

  • day4

Thorough About Function

  • day5

Inheritance and Polymorphism

  • day6

Vitrual Function、Abstruct

  • day7

Operator overloading

  • day8

Template And STL

  • day9

Exception

  • day10

File And Stream

2.2 Practical Exercises

├── Square brackets overload .cpp ├── Clock++operator overloading.cpp ├── Mandatory conversion of operator overloading.cpp └── Clock with overloaded parenthesis.cpp

├── Template of Function.cpp

├── Dynamic array.cpp

├── Dictionary insertion and search.cpp

├── Catch Exception.cpp

├── Template of Stack.cpp

├── Template of Array.cpp

├── Inheritance And Package.cpp

├── Read And Write files.cpp ├── Operator Overloading About Input and Output.cpp ├── Input And Output Overloading.cpp ├── Input Format.cpp

2.0 Overview

C++2.0 is an Abbreviation, meaning「modern C++」,including C++11/14/17/20.

2.2 C++14/17/20

To Be Continued ...

3.Design Pattern

STL Source Code Analysis:gcc 4.9.1

4.1 C++ Concurrency in Action

Learning materials: https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/

4.2 Multithreading And Multiprocess

4.2.1 Threading In C++

From:

https://www.youtube.com/watch?v=eZ8yKZo-PGw&list=PLk6CEY9XxSIAeK-EAh3hB4fgNvYkYmghp&index=4

What is your favorite custom for c ++ programming style?

6.Learning Courses

7.Tools

Modified the code, Click here for the code

Input:

map<int, int> mp{
            {1, 1},
            {2, 4},
            {3, 9}};
    cout << mp << endl;

Output:

{ 1 => 1, 2 => 4, 3 => 9 }

7.2 Output Like Python(Jupyter Notebook)

7.3 Observe the changes in the compilation process

7.4 Debug Tools For C ++:dbg-macro

8.Expansion

8.1 Other Problems

9.Circumstance

  • Running Circumstance

    Ubuntu 18.04

  • IDE

    CLion gcc/g++

10.Contributor

贡献人 地址
光城 https://github.com/Light-City
ChungZH https://github.com/ChungZH
xliu79 https://github.com/xliu79

11.About The Writer

个人公众号: