
Learn how a computer runs a program by executing instructions, and how random access memory stores active data while secondary storage holds long-term data.
Explore how binary digits represent machine language and how assembly language and assemblers translate instructions into binary. Compare compiler and interpreter roles, showing why high-level languages like C++ simplify programming.
Identify the three core steps of programming: input, processing, and output, using the cookie example to show how inputs become processed data and finally output cookies.
Learn to install and use the Code Blocks IDE for C++ development, including downloading, opening, creating a new C++ project, naming it, and saving it on Windows, Mac, or Linux.
Learn the basics of C++, including include statements for input and output, using namespace std, semicolons, and the main function.
Develop basic c++ programming skills by defining an integer variable x, assigning a value, and printing it with cout inside main, while learning semicolons, indentation, and compiling and running.
Learn to print a value on a new line in c++ by using a single statement with an end line, and replace repeated prints with one-line output.
learn to write a simple c++ program, include iostream, define main, set int age = 24, and see how a missing semicolon causes a syntax error with line guidance.
Explore arithmetic operations in C++, including addition, subtraction, multiplication, and division, through a simple program using main, cout, and variables x and y.
Learn to add comments to C++ programs to improve readability and collaboration. Use // for single-line and /* ... */ for multi-line comments; the compiler ignores them.
Identify syntax and compiler errors, distinguish logic bugs, and learn to compile often, comment code, and fix mistakes to avoid incorrect results.
Learn how C++ handles variables and memory by declaring int values, using namespace, defining a main function, assigning and copying ages, and printing results with cout, noting case sensitivity.
Learn the basics of C++ programming by improving readability with spaces around arithmetic and assignment, explore expressions like x = x + 7, and practice with real-world projects.
This lecture teaches basic c++ variables and naming rules, showing identifiers with letters or underscores, not starting with digits or spaces, and avoiding reserved words.
Explore how doubles differ from integers and decimals and learn how to declare, input, and perform arithmetic with double variables in C++.
Learn about constant variables in C++: values that cannot be changed and stay the same from start to end, preventing accidental edits. Use uppercase naming to distinguish constants from variables.
Explore the C math library by including cmath and using functions such as square root, absolute value, and power to perform mathematical operations in C++.
Learn to use the power function and absolute value function in C++ with the cmath library, using doubles and examples like pow(base, exponent) and abs(value).
Learn to include the string header, declare a string variable for a name, and implement a simple input/output program using the main function and namespace to greet the user.
Learn how to convert between int and double in C++ using static_cast, print values temporarily as different types without changing the original, and understand truncation when casting doubles to integers.
Learn how to declare a character variable in C++, assign values like '8' or 'B', and use single quotes for chars; note that char holds one character and may overflow.
Explore how overflow happens in C++ when an integer receives a really big value that exceeds its 32-digit binary capacity, triggering a warning and incorrect output.
Learn how the getline function reads an entire line, capturing first names with spaces, and why mixing getline with other input methods can cause errors.
Learn how to properly collect full names by combining getline with ignore to handle leftover newlines after using the extraction operator in C++.
Explain how float compares to double, noting float is less accurate but saves space. Choose float when memory is limited; otherwise use double for higher precision.
Learn the basics of C++ by building a simple console program that prompts for first name, last name, and ID number, then prints and confirms the ID.
Design a C++ program to estimate population growth from a user-specified past year and growth rate, using the current year 2018 and the power function to compute the estimated population.
learn how the if-else conditional statement works in c++ with practical examples, using conditions and braces to decide when to print actions like turning the fan on.
Explore how the if statement evaluates conditions and routes flow with else and else-if branches, using temperature scenarios to decide when to turn the heater on or the fan.
Explore relational operators and equality in c++, compare numbers with == and !=, and implement if statements to check x against 5 and print results.
Learn how to use the greater than or equal to operator in C++ with temperature examples, conditionals, and type choices (int, string, char) while avoiding doubles.
Explore assigning an integer x in C++ and using the equality operator, including the double equals sign, to understand how non-zero values make conditions true and zero false.
Explore and, or, and not operators in C++. See how the and operator requires both conditions to be true, and how the or operator yields true if any condition is true.
Explore how the or and not operators work in c++, using true/false conditions to evaluate statements. Learn to apply exclamation mark notation and parentheses to negate conditions.
Design a C++ program that inputs three exam scores, computes the average, and uses if statements and logical operators to assign A or B grades and determine pass or fail.
Explore how to implement a C++ switch statement to create a user menu with cases for actions like create or open a file, including default handling and break behavior.
Explore the switch statement and case handling, highlighting expression types like integer, char, string, or double, and the effects of break and fall-through.
Explore boolean variables, how to declare and assign true or false, and how conditional statements evaluate these booleans to control program flow, with examples comparing input numbers to five.
This is an introductory course to programming with C++
1. This course covers only the basics of programming with C++
2. Object-Oriented Programming is not covered in this course
3. Pointers and other C++ advance topics is not covered in this course
4. Programming background preferred before taking this course
By the end of this course, you will have good understanding about the basics of C++.