
Learn to solve problems with C++ by using variables, if statements, loops, and functions, while debugging and building real programs. Compare multiple solutions and practice with compilers or online tools.
Learn to write your first C++ program by printing a message to the screen using an IO stream, including iostream, and ending statements with a semicolon.
Discover how C++ variables hold information, how to initialize them with a type like int x = 5, and print results with cout in a simple program.
Learn to declare and initialize variables, perform basic arithmetic, and update values in C++, printing results with cout across simple examples like A and B starting at 4 and 6.
Capture user input in C++ by declaring a variable, reading a number from the command line, adding three, and printing the result, while debugging common input errors.
Learn to swap two variables in C++ using a temporary variable, avoiding overwriting values, and print the swapped results (x = 5, y = 2) to see the outcome.
Develop computational thinking as a stepwise approach to problem solving that a computer can execute, using four main lines of code, brainstorming, data flows, and algorithm building to evaluate ideas.
Master the two-variable swap with x = x + y, y = x - y, and x = x - y, swapping 2 and 5 to 5 and 2.
Learn how to compute modulo as the remainder of integer division, illustrated by 5 mod 2 = 1 and 4 mod 2 = 0, and implement it in code.
Explore primitive variable types in c++, including int for whole numbers, double for real numbers, and char for a single character, with notes on their limitations.
Learn to generate random numbers in C++ by defining ranges and starting points, seeding with time and including the time library for varied results.
Explore the basic C++ command lines, including include directives for standard libraries, using namespace std, cout and cin for input and output, and the structure of the main block.
Explore how if statements in C++ control program flow, using x to test positive, negative, and zero with if, else if, and else, and print corresponding messages.
Learners build a c++ program that identifies odd or even numbers using modulo 2, reads input, computes the remainder, and prints the result with debugging insights.
Explain why starting with old editors and black screens feels dull, then show how gradual C++ and Python exercises—sorting, max, averages, quadratic equations—build confidence for real applications.
Learn to find the maximum among three numbers using if statements, initialize x, y, and z, and verify results through debugging and step-by-step comparisons.
Learn to compute the discriminant and solve a quadratic in cpp, using the math library to find x1 and x2 and handle real or imaginary roots.
Explore using and or not operators in C++ to build nested and combined if statements with variables a, b, and c, and print the correct message based on conditions.
Learn how to check if a user-provided key number lies inside a defined range by using a two-condition if statement that compares the lower and upper bounds.
Overcome procrastination in programming by breaking large tasks into small, time-boxed steps, starting with simple functions, and rewarding sustained work to build momentum.
Observe general rules for all exercises: use two-part videos for analysis with a digital pen and code review, earn a two-number score, then ask questions in the community Q&A.
Learn to compute the absolute value in c++ by building a simple program that reads a user input x and outputs its absolute form, with a practice exercise.
Explore computing the absolute value of x by checking if x is less than zero and converting negative inputs to positive numbers, with examples.
Learn to write a for loop in c++ that initializes i to 0, checks i <= 10, and prints 0 through 10, showing how loops replace if statements for numbers.
Sum numbers from 1 to N in C++ using an accumulator and a for loop, as x runs 1 to N to update the total and reveal debugging concepts.
Learn algorithmic thinking as a step-by-step problem-solving method that lets a computer carry out tasks, guiding you from problem understanding and brainstorming to building and evaluating an algorithm.
Learn to implement a fibonacci series generator in c++ by initializing a and b to 1, using a for loop and user input for n, and printing each step.
Scan a mathematical function in C++ by looping from -5 to 5 to compute y values and plot x,y points, while debugging common syntax and logical errors.
This lecture shows printing odd numbers in c++ from user input using a loop, with two methods: check oddness and a loop starting at 1 that increments by two.
Learn to calculate the power of a number in C++ by building your own logic for two numbers a and b and printing a^b, without library functions.
Learn programming in c++ with power of animation shows two approaches to power calculation: using math library function pow, and writing a loop to multiply a by itself b times.
Learn how to use one-dimensional arrays in C++, declare an int array with ten elements, initialize from index 0, and print elements with a for loop.
Compare arrays and lists: arrays are fixed-size and store one data type, while lists use a pointer to connect items, trading instant access for scalability in large data.
Learn to create an array of 10 cells in C++ and fill it with random numbers using a random function, initialize the library, and produce values from 0 to 4.
Master fast typing for programming with an animation-based platform that teaches correct finger mappings, while you practice daily for 10 minutes without looking at the keyboard, prioritizing accuracy.
demonstrates how to find the average of an array in C++ by reading five numbers, summing them with a for loop, and dividing by the array size.
Learn programming in C++ with the power of animation shows how to find the maximum in an array by reading n numbers, initializing max with first element, and updating it.
Apply dynamic programming to reduce runtime by reusing previously computed results. Divide problems into smaller parts and save results to eliminate repetition, with factorial and movie examples.
learn to compute and store all factorials from 1 to n using a dynamic approach that reuses previous information for efficient calculation.
Learn programming in c++ with animation by calculating and displaying f(x) = 4x^2 - 3x + 12 for x from -5 to 5 in 0.1 steps, and persevere through challenge.
Explore how to compute and store the points of a function in C++ for an animation, from -5 to 5 with small steps, filling a 101 by 111 float grid.
Discover how while loops handle tasks with unknown iterations, and compare them to for loops. See examples counting digits and selecting numbers greater than 20 from a matrix.
Learn to calculate a number’s digits by iteratively dividing by 10 and its powers in a loop, using examples like 942, 58, and 461, in C++.
Explore the difference between for loop and while loop by counting from 0 to 9 and printing each value, using initialization, increment, and optional braces for single-command lines.
Use a while loop to collect numbers into a matrix until the user enters the stop signal, address the flag issue, and manage storage with a counter and for loop.
Define the software purpose and functionality before coding, establish a shared foundation with clear rules and documentation, then organize teams and projects to align inputs and outputs.
Separate a number into its digits and save them in an array using a loop and division by 10, illustrating digit extraction and storage with example code.
Explore searching a one-dimensional array for a key number using two methods: brute-force linear search and a sorted-array approach with stepping and flag logic.
Convert decimal to binary using powers of two, illustrated by 25 as 1 plus 8 plus 16, and explore two solution approaches in this decimal-to-binary challenge.
Learn to convert decimal to binary using powers of two with a while loop to find the largest fit, then a descending for loop builds the binary digits by subtraction.
Explore decimal to binary conversion using division by two and remainders, illustrated with 25 and 34, and implement a program that builds the binary form and debugs a while loop.
Develop a self-made sorting approach by repeatedly finding the maximum in the input and placing it into a new burger array to build numbers in descending order for practice.
Analyze bubble sort mechanics and the descending sort process, showing how adjacent swaps move the smallest elements toward the end and how nested for loops optimize passes.
Learn binary to decimal conversion by interpreting each bit as a power of two and building a program that translates binary input to its decimal value in C++.
Initialize the math library and use power function with boolean type in a for loop from 0 to 8 to convert binary digits to decimal, accumulating and printing final result.
Explore creating a program to compute the least common multiple by using a hands-on example with 4 and 6, generating multiples and identifying 12 as the first common multiple.
Explore an iterative least common multiple algorithm for two numbers using nested loops, a two-value flag, and multipliers, with examples such as 4 and 6, 8 and 12.
Complete this C++ course and join the elite BBC team as you progress through independent chapters, participate in a live programming competition, and share a quick review afterward.
C++ is a great language to master! I know that the process of learning programming especially in C++ language can be difficult and frustrating. For this reason, we decided to develop a different learning experience for you. Instead of just programming on a screen in a Cpp compiler:
With these 3 layers of teaching process, you will never feel that you can’t build a program in C++ as a beginner or in any other programming language, because we will be helping you in every step of the way. You will go a step further, by learning not only the command lines in C++ programming language but you will also develop your algorithmic way of thinking, in order to solve a problem efficiently and easily in any programming language including C++ programming.
If you already have previous exposure to a programming language, not only programming in C++ but also python that we already worked with in previous course or java, you already know that the challenging part is not how to write a Cpp command line correctly. It is how to use all the bits and pieces that you have learned in order to solve a problem. How to take an application idea that you have and transform it into a program in C++ that works correctly in every situation. For this reason, we pay the attention that every part of programming really needs. So in the first part of the course we will start by learning the basics about Variables in C++ for beginners course and how to solve interesting and challenging programs only with C++ Variables. Then in the next parts you will learn about the If statement, loops, functions and many more features that a programming language like Cpp contains. Our methodology involves solving carefully chosen problems and programming challenges. In many cases, we will create 2 or even 3 different solutions, in order to teach you not only how to solve a problem, but how to craft a solution in C++, and how you can take different paths in order to reach a certain destination.
To follow this course you need to have a compiler to work in. You have two main options:
Finally, I need to note that this is a C++ beginners course because especially in the first sections we teach you how and where to use every programming language technique with a C++ beginner driven teaching method. By starting from complete zero and going all the way to intermediate programmer.
So come along to check out how our different approach works for you!