
Explore the basics and beyond of C++, a high-performance, scalable general-purpose language used in games, AI, operating systems, and more, with clear beginner-friendly instruction.
Download Visual Studio Code, choose your OS version, and install the C++ extension and Code Runner to write and run C++ programs in this course.
Create your first c++ program by saving a .cpp file in vscode, include iostream, use int main, and print hello world with cout, endl, and using namespace std.
Explore how comments in C++ help label and document code without affecting execution. Learn to use // for one-line notes and /* ... */ for multi-line explanations, with practical examples.
Learn how to declare and use integer variables in c++, store values with the int type, assign expressions like 10+7, and print results.
Declare and use decimal variables in C++ with the double type, assign 5.8, print it with cout, and reassign to 6.1 to show the latest value.
Create and manipulate string variables to store text in C++, initialize with quotes, print using cout, and concatenate strings with additional text.
Learn how booleans work in c++, declare a boolean with bool, and store true or false as 1 or 0, then print the result.
learn to declare constants in C++ using the const keyword to keep a value like pi at 3.14, preventing any reassignment and ensuring the value prints 3.14.
Explore the four core math operators in c++, including addition, subtraction, multiplication, and division, with int and double variables and cout output, and learn how integer division truncates decimals.
Master incrementing and decrementing variables in C++, including post-increment x++ vs pre-increment ++x, and how they affect Y = X++ versus Y = ++X.
Learn how to read input from the user in C++ by prompting to enter a value, storing it in a variable, and displaying the entered input with cin and cout.
Learn how the if statement in C++ runs code only when its condition is true and distinguish single equals for assignment from double equals for comparison.
Learn to implement the C++ if statement to branch on a condition. Prompt for a non-zero integer and print whether the number is positive or negative with cin and cout.
Explore how the else if statement handles multiple conditions in C++ by checking if a number is positive, zero, or negative, and printing the result.
Explore how the switch statement offers a faster alternative to if-else chains in C++. Use expression, cases, default, and break, with a days-of-week example (1–7 to Monday–Sunday) and invalid input.
Discover arrays in C++, which store values of a single type, such as integers or strings. Learn the syntax with type and name, size in brackets, and braces containing values.
Learn how to declare an int array in C++ with ten elements, store integers 1 to 10, name the array, and fill values using braces before ending with a semicolon.
Learn how to assign and reassign values in a ten-element C++ array using zero-based indexing, with practical examples of updating slots by index.
Learn how to access and print array elements by index in C++, using nums[0] and nums[4], demonstrating the first and fifth slots.
Learn how to use the size of function to determine the number of items in an array, print it with cout, and apply the size in loops and object-oriented programming.
Learn how to declare and initialize two dimensional arrays in C++, specifying data type, name, rows and columns, and filling values row by row with nested braces.
Learn to access values in two dimensional arrays using table[row][column], with zero-based row and column indices, and print the targeted slot, such as 2,1 yielding 50.
Learn to use the while loop to print hello multiple times, control repetition with a condition, avoid infinite loops, and terminate when i reaches six.
Explore the do-while loop, a variant of the while loop that executes the block once before checking the condition. It repeats while the condition is true.
Iterate through a C++ array using a while loop by tracking an index and printing each element until the index reaches the array size, demonstrating index-based access and increment.
Discover how to use the for loop in C++, mastering its three-part syntax: initialization, condition, and increment, to print numbers 1 through 5 and compare it with while loops.
Have you never done C++ programming or any programming before, but want to begin learning C++?
Do you want to easily learn C++ without confusion?
Or do you need to brush-up on your very basic knowledge about C++ programming?
If so, this course is perfect for you!
In this course, you will learn C++ from the very beginning with a clear step-by-step guide for everything. It goes over the very basics of C++ programming and makes sure that there is no confusion. You do not need any prior coding experience! You will learn things like how to print out messages, variables, data types, and conditional (if) statements in C++. Then, you will learn about a little more complex things such as loops and arrays.
There are many types of programming languages, but C++ is one of the most popular, efficient, and powerful programming languages. It can be used for building so many things such as high-end desktop games and complex artificial intelligence programs. It is used by many companies, organizations, banks, and individual programmers/developers.
While C++ is usually more challenging to learn, this course simplifies it for you and guides you through every step as much as possible. The course is meant for people who have never done C++ before and want to learn how to do it.