
Set up C++ development with Visual Studio or Visual Studio Code and create a console app. Write basic C++ with iostream, variables, and cout output, then run and debug.
Explore basic C++ I/O and strings by using include statements, header files, and the std namespace to print with cout and read with cin in a hello world example.
Explore core C++ data types—including int, long, double, float, bool, char, and string—and their storage, including addresses and pointers, alongside basic input and output with iostream, cin, and cout.
Explore basic arithmetic operations in C++ including assignment operators, integer vs double division, casting to double to preserve decimals, and the modulo operation for remainders and simple money calculations.
Explains number systems and bases—binary, octal, decimal, and hexadecimal—using digits 0–1, 0–7, 0–9, and a–f, with Excel demonstrations of counting and conversions.
Compute your age in seconds and explore how C++ handles octal, hex, and binary literals and bit shifting with the left shift operator.
Master c++ math basics by applying absolute value, square root, log, and exponential functions, and use assignments and shorthand operators like +=, ++, and *= to update x.
Explore c++ basics through examples of integer division, variables, and output, then apply pow, sqrt, and exponential notation to compute areas and circle constants like pi.
Explore type conversion and promotion in C++, using double promotion to avoid integer division, static_cast to cast between int and double, and overflow explained with binary representation.
Observe how different parentheses alter results and review the order of operations, then see assignments like k equals cosine of pi times k and k plus equals.
Explore how to format C++ output with iomanip, using set width, set precision, and fixed to control decimal places, alignment, and currency-style formatting.
Learn how getline reads an entire line to capture names with spaces, and how to format and convert data with fixed, set width, set precision, show point, left, and right.
Explore how to generate random numbers in C++ with rand and srand, using time as a seed, control ranges for dice-style outputs, and understand uniform versus pseudo random behavior.
Review sections 1 and 2 of the C++ course with hands-on tasks: greet users by name, generate random numbers, and format output with fixed and setprecision.
Learn how if statements control flow with boolean expressions, using parentheses for scope and brackets for grouping, plus else if chains, range checks, and data validations like age and password.
Practice with if statements, equals, and less than comparisons using variables, booleans, and choice-driven max logic to teach handling of differences and char grades.
Explore building a menu-driven program using if and nested if statements to assign rates for regular patrons, children, and seniors, and apply discounts on rainy days.
Explore the order of operations in C++ with if statements, covering arithmetic, relational, and logical operators, and how parentheses and precedence guide evaluation.
Explore how switch statements in C++ evaluate char grades or weather codes with cases, breaks, and a default. Compare switch with if, and understand fall-through and label mapping.
Explore how the C++ conditional operator works as a compact alternative to if statements and switches, with examples using x and y and string assignments.
Explore practical C++ basics: generate random numbers in ranges, determine even or odd, apply if statements, and handle input with cin and getline, plus char casting.
Explore a quick review of if statements in C++ with age checks, input prompts, and random number generation, including testing grade ranges and bounds.
Explore while loops in C++ with objects, how they run while a condition is true, counting up or down, and using breaks and compound logic.
Learn how to use for loops in C++, counting from 0 or 1, iterating backwards, and producing sequences such as squares and running sums, with factorials and overflow demonstrations.
Explore for loops, while loops, and nested loops to print squares from 1 to 100, create star patterns, square patterns and a triangle, and sum digits by extracting last digits.
Demonstrate the Collatz conjecture by applying even and odd rules with a while loop until 1, then check primality using a for loop and divisibility tests.
Explore loops by printing numbers 1 to 1000 whose digits sum to 20 using for loops, modulo 10, and integer division, and implement a binary search style guessing game.
Explore for and while loop patterns in C++ with objects, including even number checks from 2 to 100, age prompts with a counter, Fibonacci and prime checks, and digit operations.
Explore loops review concepts by breaking problems into small steps, using equality checks with double equals, increments, and nested if statements to handle color, age, guessing games, and number comparisons.
This lecture reviews c++ loops and conditionals, featuring if-else chains for color, equality checks, random numbers via time, ternary operators, and file output with ofstream.
Master loops in C++ with for and while constructs, printing sequences, summing numbers, averaging user input, generating primes, squares, random numbers, and basic loop-driven user interactions.
learn to write to and read from files in c++ using ofstream and ifstream by creating, opening, writing or reading with << or >>, and closing.
Learn how to open an input file, check for success, and read values with a while loop until end of file, including handling arrays and their size.
Learn to perform file I/O in a C++ console app by writing random numbers to a file with ofstream, then reading them with ifstream to determine the max value.
Review if statements, while loops, and switch with file output using an output file stream. Illustrate random number generation and file operations with conditional and switch logic.
Explore loops from 20 to 60 and 60 to 20, use modulo and digit extraction, and master file input/output with ofstream and ifstream to write, read, and display number pairs.
Explore how functions work in C++, including headers, calls, prototypes, and return types. Learn pass by value versus pass by reference with examples and recursion.
Explore defining and calling void functions in C++, including function headers, prototypes, pass-by-copy and pass-by-reference, and simple examples that print and compute values.
Explore function concepts in c++ with examples of void and by-reference parameters, function overloading, prototypes, and calls; learn scope, return behavior, and using while and the ternary operator.
Learn to create and call multiple c++ functions, using while and for loops, function prototypes, and void or return types, including ten times a number, an average, and even-odd results.
Explore practical C++ function examples that use the mod operator to print even numbers, output digits, swap variables, count ranges, sum multiples, find smallest factors, and test palindromes.
Explore using random numbers to estimate probabilities of cubes and circle areas via Monte Carlo, sampling points in the unit square and counting those inside the circle.
Explore the Euler totient function and gcd, counting numbers with gcd 1 to a given n. Learn a two-step algorithm: compute gcds and then count to compute phi(n).
Implement Euler's totient in C++ by using a gcd function to test if numbers are coprime with n, and a for loop to count those with gcd equal to one.
Explore the Collatz conjecture by applying its two rules—even numbers divide by two, odd numbers triple and add one—and model the process with a coding function.
Learn to implement the Collatz conjecture in c++ by breaking the problem into four focused functions, use arrays and templates, and explore project euler style longest sequence calculations.
Explore functions with return types and prototypes, compute averages with doubles, and implement trial division factorization using long long and static counters, including reference-based swap to modify originals.
Explore pass by reference in C++ by examining functions that modify arguments via references (ampersand) rather than copying, including a discount function and a pin setter.
Implement a validated input function returning 2 times a number between 1 and 20, plus factorial, square-of-stars, even/odd tester, minimum finder, and a static-state alternator.
Practice creating C++ functions with void and return types, implement while and for loops, handle input validation, file input/output, randomness, and basic control structures through hands-on examples.
Practice implementing and testing C++ functions, including return-by-value and by-reference variants, max-of-three logic, and simple I/O driven tasks like lottery draws and age-based routing.
Practice C++ functions by tracing prototypes, void and non-void returns, and calls inside functions. Explore overloading, passing by reference with ampersands, static variables, scope, and returning values.
Practice exercises in function practice covering while and for loops, input validation, file output, and basic functions in C++ with objects, including pass-by-reference, boolean logic, and retail price calculation.
Explore function practice in C++ by implementing void and double functions, using for and while loops to output ranges, compute averages, squares, twin primes, and random numbers.
Practice implementing essential C++ functions through looping, arithmetic, and basic I/O tasks, including sum from start to finish, max/min, string concatenation, and dice rolling until snake eyes.
Explore solving classic algorithmic problems in c++ using loops, modulus checks, and functions: sum of multiples below a thousand, Fibonacci even sum below four million, largest prime factor, palindromic products.
Explore arrays in c++ with practical examples: declare constant-size arrays, index values, loop through them, and learn about pointers, searching, max, swapping, and growing arrays with new memory.
Explore arrays in C++: set array size, populate with a for loop, and pass arrays to functions with size. Understand pointers, references, and dynamic memory allocation.
Master array basics in C++ from static initialization and for loops to interactive input and enhanced for loops, and delve into pointers and dynamic memory with new.
Master C++ array basics by creating and filling static and dynamic arrays of numbers, decimals, strings, and booleans; apply factorials, dice rolls, unique random numbers, and size-aware function calls.
Swap two values in an array and pass the array to a function, returning an array via pointers. Build and use Fibonacci sequences stored in arrays.
Fill an array inside a function, then write its contents to a file with fstream. Read data back from a file into a dynamically allocated array using a size parameter.
explore array problems in C++: find a missing value in a 1–100 range using sort, sum formulas, or a hash-based boolean array, then locate a duplicate via sorting or checks.
Explore array operations in C++, including filling, printing, searching, inserting, and deleting elements. Learn about fixed-size arrays, pass-by-reference, and simple vs. binary search, plus using sort for ordering.
Explore common array operations in C++ with objects, including filling and copying arrays by reference, computing max, min, and median, adding elements, and swap-based sorting.
Learn how typedef creates a type alias to clarify code by naming an array type, such as exam scores, final exam scores, or other arrays.
Explore multi dimensional arrays in C++ by building two dimensional and three dimensional arrays, indexing by rows and columns, and filling them with random numbers using nested for loops.
Explore the C++ vector class, including declaration, initialization, and dynamic resizing with push_back, front and back access, and pop_back, plus passing by reference.
Explore vectors in C++, create a vector with a size, access elements with V[i], and use push back and clear, noting notations and a queue analogy for parallel programming.
Learn to use vectors and arrays to store objects in C++, create a book class with name and ISBN, and populate instances with push_back and setters.
Explore using vectors with pointers and pass by reference, employing iterators from begin to end to fill and modify vectors, return by value, and compare arrays with dynamic memory.
Create and fill vectors with and without initial size, using iterators, push_back, and insert, while modifying by reference; demonstrate sorting and reversing with the algorithm library.
Explore how pointers work in C++, using the address-of operator and the star symbol to dereference and modify data, including arrays and basic pointer arithmetic.
Explore c++ pointers: initialize and manipulate pointers, use addresses, pass by value and by reference, and manage dynamic memory with new and delete for arrays and functions.
explore declaring pointers to class objects and structures, such as rectangle and person, assigning addresses, and accessing members via dereferencing and the arrow operator, dynamic memory with new and delete.
Explore how arrays relate to pointers in C++, including memory layout, first element pointers, size decay, anonymous arrays, multi‑dimensional arrays, and passing arrays by pointer, reference, or vector.
Explore pointers to arrays and arrays of pointers, including dynamic allocation with new, and how pointers to pointers build multidimensional structures like 2D and 3D arrays.
The lecture demonstrates building multidimensional arrays in c++ with pointers, using either a double** matrix or nested new allocations. It compares filling and deleting these structures.
Learn to test and build magic squares with 2d arrays, using an is magic check and a random shuffle for 3x3 and 4x4 grids, and why brute force becomes impractical.
Explore arrays and pointers in c++ through practical functions, memory allocation, and iteration. Practice including random data, vector usage, 2d arrays, and file output.
Explore arrays and pointers in C++ by comparing bracket and pointer notation, creating and returning dynamic arrays with new, and counting frequencies with a frequency array and computing averages.
Explore practical C++ techniques for arrays and pointers: writing functions that fill arrays with random numbers, manipulate vectors, use pass-by-reference, dynamic memory, and pointer notation.
This course is an introduction to C++. This will teach you how to program in C++. It introduces many of the major ideas and prepares you for further development. It covers basics such as IF, SWITCH, FOR, WHILE, functions, classes, arrays, and much more. I regularly teach this course in college; it is equivalent to a one semester course in C++.
This course benefits every student because it teaches the best programming language - ever. C++ is the foundation to everything. It is clean and beautiful and effective.
This course teaches if statements, loops, functions, classes, and arrays. It is an introduction to C++. It is a first course in C++ including arrays and objects.