Giter VIP home page Giter VIP logo

cplusplusthings's Introduction

C++那些事

项目概要

学习C++内容,包括理论、源码、实践、项目等

1.基础部分


拓展部分:

2.进阶部分

2.1 effective_c++

正在更新...

2.2 C++2.0新特性

vector<list<int> > //ok in each C++ version
vector<list<int>> // before c++ 11 error error: ‘>>’ should be ‘> >’ within a nested template argument list,c++11后可以正常通过
for(decl:col) {
    statement
}
  • =default,=delete

    如果你自行定义了一个ctor,那么编译器就不会给你一个default ctor 如果强制加上=default,就可以重新获得并使用default ctor.

  • Alias(化名)Template(template typedef)

alias.cpp

template_template.cpp

(1) 序列式容器包括:array(C++2.0新引入),vector,deque,list,forward_list(C++2.0新引入)

(2) 关联式容器包括:set/multiset,map/multimap

(3) 无序容器(C++2.0新引入,更换原先hash_xxx为unordered_xxx)包括:unordered_map/unordered_multimap,unordered_set/unordered_multiset

学习资料:https://www.bilibili.com/video/av51863195?from=search&seid=3610634846288253061

2.3 C++并发编程v1

学习资料:https://chenxiaowei.gitbook.io/cpp_concurrency_in_action/

2.4 STL源码剖析

stl源码剖析:gcc4.9.1

3.代码运行

全部在Ubuntu18.04下用vim编写,使用gcc/g++调试!全部可正常运行!

关于作者:

个人公众号:

cplusplusthings's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.