C++ Programming A Practical Approach

C++ Programming A Practical Approach

Lessons

  1. Introduction

  2. Installation

  3. Using C++ Source Code File

  4. Hello World

  5. Outputting Text

  6. Variables

  7. Strings

  8. User Input

  9. Binary Numbers and Memory

  10. Integer Variable Types

  11. Floating Point Variable Types

  12. Char and Bool

  13. The 'If' Statement

  14. If-Else

  15. If-ElseIf-Else

  16. Complex Conditions

  17. While Loops

  18. The Do While Loop

  19. 'For' Loops

  20. Break and Continue

  21. Arrays

  22. Multidimensional Arrays

  23. Sizeof and Arrays

  24. Sizeof Multidimensional Arrays

  25. Switch - Choosing Between Alternatives

  26. Functions - Using Subroutines in C++

  27. Return Values

  28. Function Parameters

  29. Headers and Prototypes

  30. Classes

  31. Data Members

  32. Constructors and Destructors

  33. Getters and Setters

  34. String Streams; Adding Number to Strings

  35. Overloading Constructors

  36. The 'this' Keyword; A First Taste of Pointers

  37. Constructor Initialization Lists

  38. Pointers; Where C++ Starts to Get Tricky

  39. Arithmetic Operators

  40. Pointers and Arrays

  41. Pointer Arithmetic; Adding, Subtracting and Comparing Pointers

  42. Char Arrays

  43. Reversing a String

  44. References

  45. The "const" Keyword

  46. Copy Constructors

  47. The "New" Keyword

  48. Returning Objects from Functions

  49. Allocating Memory

  50. Arrays and Functions

  51. Namespaces

  52. Inheritance

  53. Encapsulation

  54. Constructor Inheritance

  55. Two's Complement

  56. Static Variables

  57. Particle Fire Explosion

  58. Using C++ Libraries

  59. Acquiring Simple Direct Media Layer

  60. A Basic SDL Program

  61. Creating an SDL Window

  62. Textures, Renders and Buffers

  63. Setting Pixel Colors

  64. Creating the Screen Class

  65. Bit Shifting and Colors

  66. Adding a Set Pixel Method

  67. Animating Colors

  68. Creating Particles

  69. Animating Particles

  70. Creating an Explosion

  71. Ensuring Constant Speed

  72. Bitwise 'And'

  73. Implementing Box Blur

  74. Realistic Particle Motion

  75. Languages Overview

  76. What Next

  77. Object Oriented Design Considerations

  78. Understanding Postfix and Prefix

  79. Static Creating Libraries

  80. Programming in C++ Final-Quiz