The Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow. Text content is released under Creative Commons BY-SA. See credits at the end of this book whom contributed to the various chapters. Images may be copyright of their respective owners unless otherwise specified
Book created for educational purposes and is not affiliated with group(s), company(s) nor Stack Overflow. All trademarks belong to their respective company owners
https://goalkicker.com/
Content
1-1Content list
1-2About
1-3Chapter 1: Getting started with C++
1-4Section 1.1: Hello World
1-5Section 1.2: Comments
1-6Section 1.3: The standard C++ compilation process
1-7Section 1.4: Function
1-8Section 1.5: Visibility of function prototypes and declarations
1-9Section 1.6: Preprocessor
1-10Chapter 2: Literals
1-11Section 2.1: this
1-12Section 2.2: Integer literal
1-13Section 2.3: true
1-14Section 2.4: false
1-15Section 2.5: nullptr
1-16Chapter 3: operator precedence
1-17Section 3.1: Logical && and || operators: short-circuit
1-18Section 3.2: Unary Operators
1-19Section 3.3: Arithmetic operators
1-20Section 3.4: Logical AND and OR operators
1-21Chapter 4: Floating Point Arithmetic
1-22Section 4.1: Floating Point Numbers are Weird
1-23Chapter 5: Bit Operators
1-24Section 5.1: | - bitwise OR
1-25Section 5.2: ^ - bitwise XOR (exclusive OR)
1-26Section 5.3: & - bitwise AND
1-27Section 5.4: << - left shift
1-28Section 5.5: >> - right shift
1-29Chapter 6: Bit Manipulation
1-30Section 6.1: Remove rightmost set bit
1-31Section 6.2: Set all bits
1-32Section 6.3: Toggling a bit
1-33Section 6.4: Checking a bit
1-34Section 6.5: Counting bits set
1-35Section 6.6: Check if an integer is a power of 2
1-36Section 6.7: Setting a bit
1-37Section 6.8: Clearing a bit
1-38Section 6.9: Changing the nth bit to x
1-39Section 6.10: Bit Manipulation Application: Small to Capital Letter
1-40Chapter 7: Bit fields
1-41Section 7.1: Declaration and Usage
1-42Chapter 8: Arrays
1-43Section 8.1: Array initialization
1-44Section 8.2: A fixed size raw array matrix (that is, a 2D raw array)
1-45Section 8.3: Dynamically sized raw array
1-46Section 8.4: Array size: type safe at compile time
1-47Section 8.5: Expanding dynamic size array by using std::vector
1-48Section 8.6: A dynamic size matrix using std::vector for storage
1-49Chapter 9: Iterators
1-50Section 9.1: Overview
1-51Section 9.2: Vector Iterator
1-52Section 9.3: Map Iterator
1-53Section 9.4: Reverse Iterators
1-54Section 9.5: Stream Iterators
1-55Section 9.6: C Iterators (Pointers)
1-56Section 9.7: Write your own generator-backed iterator
1-57Chapter 10: Basic input/output in c++
1-58Section 10.1: user input and standard output
1-59Chapter 11: Loops
1-60Section 11.1: Range-Based For
1-61Section 11.2: For loop
1-62Section 11.3: While loop
1-63Section 11.4: Do-while loop
1-64Section 11.5: Loop Control statements : Break and Continue
1-65Section 11.6: Declaration of variables in conditions
1-66Section 11.7: Range-for over a sub-range
1-67Chapter 12: File I/O
1-68Section 12.1: Writing to a file
1-69Section 12.2: Opening a file
1-70Section 12.3: Reading from a file
1-71Section 12.4: Opening modes
1-72Section 12.5: Reading an ASCII file into a std::string
1-73Section 12.6: Writing files with non-standard locale settings
1-74Section 12.7: Checking end of file inside a loop condition, bad practice?
1-75Section 12.8: Flushing a stream
1-76Section 12.9: Reading a file into a container
1-77Section 12.10: Copying a file
1-78Section 12.11: Closing a file
1-79Section 12.12: Reading a `struct` from a formatted text file
1-80Chapter 13: C++ Streams
1-81Section 13.1: String streams
1-82Section 13.2: Printing collections with iostream