logo

只搜索本站

All the links below have been published in the book "Drops of knowledge of C++ (Second Edition): Practical Skills cover C++14" in Amazon.com. It can be purchased with $0.99 and downloaded to you Kindle reader or other devices which support Kindle app.

Contents
1 CPP Language
 1.1 Basic Language Knowledge
  1.1.1 Style
   1.1.1.1 Naming
   1.1.1.2 Comment and document
   1.1.1.3 Code Convention
  1.1.2 Basic of C and C++
   1.1.2.1 Basic concept
   1.1.2.2 Combine C and C++
   1.1.2.3 Translation unit
  1.1.3 malloc and new
   1.1.3.1 malloc
   1.1.3.2 new basic knowledge
   1.1.3.3 Inside of new
   1.1.3.4 new_handler
   1.1.3.5 placement new
  1.1.4 Numerical Overflow
  1.1.5 numerical conversions
   1.1.5.1 Numerical Conversion
   1.1.5.2 Explicit numerical conversion
  1.1.6 Type cast in c++
   1.1.6.1 Implicit conversion in C++
   1.1.6.2 type cast operator
   1.1.6.3 RTTI
  1.1.7 cv-qualifier
   1.1.7.1 const and mutable
   1.1.7.2 static
  1.1.8 Namespace
   1.1.8.1 namespace basic knowledge
   1.1.8.2 name lookup
   1.1.8.3 name hiding
  1.1.9 reference and rvalue reference
   1.1.9.1 reference basic
   1.1.9.2 lvalue rvalue and xvalue
   1.1.9.3 rvalue reference and move
   1.1.9.4 Universal reference
   1.1.9.5 function interface parameter design
   1.1.9.6 move copy and assignment
   1.1.9.7 function interface return design
  1.1.10 pointer and smart pointer
   1.1.10.1 function pointer
   1.1.10.2 When to use new?
   1.1.10.3 Smart pointer Basic knowledge
   1.1.10.4 unique_ptr
   1.1.10.5 shared_ptr
   1.1.10.6 weak_ptr
   1.1.10.7 make function
   1.1.10.8 smart pointer Scenario
  1.1.11 overload and name hiding
   1.1.11.1 overload
   1.1.11.2 operator overload
  1.1.12 efficiency
  1.1.13 I/O
   1.1.13.1 I/O basic knowledge
   1.1.13.2 Input basic knowledge
   1.1.13.3 custom stream
   1.1.13.4 Input error
   1.1.13.5 Input Pattern
   1.1.13.6 Output
   1.1.13.7 file
   1.1.13.8 buffer and string buffer
 1.2 OOP
  1.2.1 Design
   1.2.1.1 class categories
   1.2.1.2 relationships between classes
   1.2.1.3 Has-a relationship
   1.2.1.4 Is-a relationship
   1.2.1.5 virtual function and override
   1.2.1.6 MI or bridge
  1.2.2 Interface
  1.2.3 Special member functions
   1.2.3.1 Basic
   1.2.3.2 Rules of implicitly declare
   1.2.3.3 initializer list
   1.2.3.4 Basic routines
  1.2.4 special member functions in inheritance
   1.2.4.1 ctor
   1.2.4.2 destructor
   1.2.4.3 copy ctor
  1.2.5 RAII
 1.3 Template
  1.3.1 Template basic
  1.3.2 Template function
  1.3.3 overload resolution
  1.3.4 template and friend
  1.3.5 Template example
 1.4 Exception and error
  1.4.1 End application
  1.4.2 Bug and assert
   1.4.2.1 Use assert to find bugs early
   1.4.2.2 Trace
  1.4.3 Handling exceptions
   1.4.3.1 errno in C
   1.4.3.2 exceptions in C++
  1.4.4 Conclusion
 1.5 STL
  1.5.1 Container
   1.5.1.1 Basic knowledge
   1.5.1.2 Basic classifications
   1.5.1.3 contiguous or node
   1.5.1.4 Search in Container
   1.5.1.5 Range
   1.5.1.6 Erasure
   1.5.1.7 Sizes
   1.5.1.8 Usages Tips
   1.5.1.9 string
  1.5.2 Iterator
   1.5.2.1 Insert iterator
   1.5.2.2 Reverse iterator
  1.5.3 Algorithms
   1.5.3.1 Basic
   1.5.3.2 basic notation
   1.5.3.3 Applying
   1.5.3.4 Bounding
   1.5.3.5 Comparing
   1.5.3.6 copy
   1.5.3.7 Count
   1.5.3.8 Filling and Generating
   1.5.3.9 Math
   1.5.3.10 Merging
   1.5.3.11 Partitioning
   1.5.3.12 Permuting
   1.5.3.13 Random/shuffing
   1.5.3.14 Removing
   1.5.3.15 Replacing
   1.5.3.16 Reverse
   1.5.3.17 Rotating
   1.5.3.18 Searching
   1.5.3.19 set
   1.5.3.20 swapping
   1.5.3.21 sort
  1.5.4 Function object
   1.5.4.1 Basic
   1.5.4.2 Adaptable
   1.5.4.3 functor tips
 1.6 New Standard
  1.6.1 New Type
   1.6.1.1 std::array
  1.6.2 Brace Init
  1.6.3 Type Inference
   1.6.3.1 template type
   1.6.3.2 Auto deduction
   1.6.3.3 decltype deduction
  1.6.4 auto declaration
  1.6.5 value_type in container
  1.6.6 function
  1.6.7 lambda
  1.6.8 Other
  1.6.9 Variadic Templates

[next]