Engineer4Free: The #1 Source for Free Engineering Tutorials
Menu

C++ Programming

This free online C++ programming course teaches everything you need to know to go from zero to hero. The course starts at the absolute basics of programming and advances up to loops, functions, vectors and more. This course consists of 47 tutorials which cover the material of a typical first year C++ programming course at the university level. I use Xcode in these videos, however there are many other options. You can even use online tools to learn/practice C++.
C++ Programming

Introduction to C++ programming

1. Basic C++ programming
2. Comments and escape sequences
3. Arithmetic operators
4. Using the int variable
5. Notes on space bar, tab, and enter
6. Undefined and uninitialized variables
7. How to make a calculator program and input numbers with cin
8. Integer division and remainders using the modulus (%) operator
9. Introducing the double variable type and integer conversion
10. Square root and power functions
11. Write a program to solve Pythagorean theorem
12. Using strings as variables
13. Using structures as variables


Decision structures

14. If statements
15. If/else statements
16. Else/if statements
17. Relational operators
18. Nested if/else statements
19. Boolean operators
20. Flow chart visualization of decision structures


Loops

21. How to make while loops (making a C++ investment calculator)
22. How to make do loops
23. How to make for loops
24. How to make an identity matrix using nested for loops
25. Flow chart visualization of C++ loops


Functions

26. Writing very simple functions
27. How to build your own power function from scratch
28. Another simple function example
29. Function prototypes / function declarations

30. Boolean functions
31. Void functions
32. Structure functions
33. When to pass by reference and when to pass by value


Arrays

34. How to define arrays
35. Filling arrays with a loop
36. Find the max or min value in an array
37. Find the sum or average of array values
38. How to copy/duplicate an array
39. Inserting element separators when displaying array values
40. Introduction to 2D arrays
​

Vectors

41. How to define and initialize vectors
42. Use push_back() and pop_back() to add or remove elements from vectors
43. How to fill vectors using for loops
44. Vector of vectors - part 1/2: how to write the code
45. Vector of vectors - part 2/2: in depth explanation
46. Using typedef to rename variable types (useful for matrices)
47. Passing vectors into functions by value and by reference
​

More Free Courses

C++ Programming
Calculus 1
​
Calculus 2
Chemistry
Circuits
Differential Equations
Dynamics
​Linear Algebra

​Mechanics of Materials
Project Management
Statics

Structural Analysis

Recommended Books

C++ Programming Book
C++ Programming Book


Become a Patron

C++ Programming Patreon

 👉  Please support my work on Patreon 👈 
Social
yt | fb | tw | ig | in
  ©​ Copyright ​www.engineer4free.com 2012 - 2022 All Rights Reserved
About | Course List | Patreon | Newsletter | Blog | ToS | Contact
 
Engineer4Free is committed to sustainability. You should be too.
  • Home
  • C++ Programming
  • Calculus 1
  • Calculus 2
  • Chemistry
  • Circuits
  • Differential Equations
  • Dynamics
  • Linear Algebra
  • Mechanics of Materials
  • Project Management
  • Statics
  • Structural Analysis
  • Home
  • C++ Programming
  • Calculus 1
  • Calculus 2
  • Chemistry
  • Circuits
  • Differential Equations
  • Dynamics
  • Linear Algebra
  • Mechanics of Materials
  • Project Management
  • Statics
  • Structural Analysis