
Master the fundamentals of C++ by learning data types, variables, and arithmetic expressions. Implement decision making, loops, functions, object oriented programming, vectors and arrays, pointers, and text file processing.
Identify the two essential tools for C++: a compiler and a text editor. Explore Code Blocks, an open-source IDE with editing, compiling, and project management, available on Windows and Mac.
Gain foundational programming skills in c++ and related languages (c#, java, javascript, python, PowerShell) from an experienced instructor, with focus on introductory programming, programming environments, and beginner-friendly error messages.
Download the code blocks integrated development environment to learn C++ by obtaining the binary release for Windows, running the setup, and reviewing the installation defaults.
Navigate the code blocks IDE to create a new C++ console project named demo, using a sources folder and a main.cpp template, and set the GCC compiler.
Write a hello world program in c++ using the code blocks editor, create a console project with gcc, include iostream, using namespace std, and print hello, world.
Learn to compile and run a C++ program by building, running, or using build-and-run, producing a hello world in a DOS window.
Explore how each line in a simple C++ program functions, from #include <iostream> and using namespace std to int main, cout output, string literals, semicolons, and return 0.
Explore how syntax highlighting color-codes C++ code to distinguish preprocessor directives, keywords, identifiers, strings, and operators, improving readability and debugging of hello world programs.
Learn to modify the hello world program by splitting the phrase into two strings, using multiple cout statements, and creating line breaks, while exploring editor autocomplete.
Discover how to find and fix C++ errors by reading compiler messages, distinguishing syntax errors from logical errors, and correcting issues like missing semicolons, misspelled words, and cout misspellings.
Create a C++ console program that prints hello viewer and I hope you have fun learning C++, using cout and semicolons, then build and run to see process returns zero.
Explore data types in C++, the building blocks that define how identifiers and expressions are used and which operations are allowed, including integers, floating point, strings, characters, and booleans.
Explore int and unsigned int, their ranges and overflow behavior, and how the size of operator reveals 4-byte and 8-byte storage for double and float.
Explore string, char, and bool data types in C++: strings use double quotes via standard library; chars use single quotes and ASCII; bools store true or false (1 or 0).
Learn to name variables in c++ by starting with a letter and allowing letters, numbers, and underscores; 3name and spaces are illegal, while case is distinct.
Declare variables by specifying a data type and name, then assign values with the assignment operator. Use initialization statements and learn how to declare multiple variables on one line.
Create a console C++ exercise that declares string variables for first, middle, and last names. Print a personalized hello using concatenation to form full name, and display age in cout.
Explore cout special characters by using the backslash to insert newlines and tabs, enabling formatted console output within C++ strings and demonstrating placement anywhere in strings.
Learn formatted C++ output using the IO manip library to set precision and field width, producing neatly aligned, readable tables with cout.
Explore how the print function formats numeric output with printf, using format strings, field width, precision, and newlines, and note that printf cannot handle the C++ string data type.
Learn to read numbers from standard input using cin, assign values to variables, accept multiple inputs on one line, and build a simple calculator that displays the sum with cout.
Discover how to read strings in c++ using cin and getline, read full lines with spaces, and store them in a string variable before echoing the name to the console.
Explore C++ arithmetic by using addition, subtraction, multiplication, division, and modulus with integers and floating points, including remainder behavior and common errors.
Apply the order of operations in arithmetic expressions using variables in C++, showing how 22 + 2 times 10 yields 42 and how parentheses give 240.
Use constants instead of literal numbers to provide a single point of control, improving readability and maintainability in calculations like circumference, area, and volume with pi.
Explore using the C math library to compute circle area with pi and radius, using pow, sqrt, abs, and fmod for efficient, reliable math functions in C++.
Explore mixing data types in arithmetic expressions, including integer and floating point results, and how implicit conversions, narrowing and widening, and type casts affect code readability.
Translate mathematical formulas into c++ code using the cmath library, implementing abs, pow, and sqrt on x and y with printed results.
Explore how to use relational operators in C++ to compare values and form relational expressions, including ==, !=, >, >=, <, and <=, with payroll and password examples.
Master how to combine relational expressions with logical operators in C++, using and, or, not, truth tables, and practical if statements to evaluate conditions.
learn to use the simple if statement in c++, evaluating a relational expression to execute a block; the payroll example computes gross pay with overtime, including time and a half.
Learn to replace multiple ifs with a single if else in C++, using a gross pay example for hours under and over 40, and discuss braces and indentation for readability.
Explore nested if statements in C++ by building a program that uses an outer if with inner if else to determine age-related permissions, emphasizing indentation and readable braces for clarity.
Explore how the if else if statement evaluates sequential relational expressions to assign a letter grade from a numeric score, including testing A through F ranges and else conditions.
Map numeric grades to letter grades using if and else if with logical operators in C++, defining ranges such as 97–100 for A+ and 93–96 for A, and test early.
Create a c++ question and answer game using if statements with three tries and getline to read response, checking against Watson. Build nested ifs and preview a simple calculator.
Learn to build a simple calculator in C++ that prompts for an expression, parses two operands and an operator, and computes addition, subtraction, multiplication, or division with error handling.
Explore the while loop as a repetition mechanism, using a loop control variable count and relational expression to display hello world ten times with an increment to avoid infinite looping.
Explore count controlled loops and sentinel controlled loops in C++, using bank interest calculations and multiplication by addition to manage loop control variables.
Learn to implement sentinel controlled loops in C++, initialize variables, and use a while loop stopped by -1 to compute the average of entered grades.
Learn to implement a results-controlled while loop that stops when a balance reaches a target, using balance, rate, and years to determine how long an investment takes.
Master the for loop as a count-controlled structure in C++, understanding its heading of initialization, test, and modification, with examples printing 1 to 10.
Learn to implement for loops to solve problems like compound interest and multiplication using addition, turning user prompts and count-controlled iterations into concise code.
Employ a while loop to rewrite a Jeopardy-style question game, tracking tries with a variable and ending the loop on a correct answer or after three attempts.
Learn to use for loops to compute factorials, including initialization and decreasing iteration, and to draw a histogram with asterisks for multiple data values.
Learn to define functions in C++, specifying return types and a parameter list, using mnemonic names like square, and call them from main to return results.
Explore the anatomy of a function: return type, name, parameter list, and body; use the square function example; understand function calls, argument matching, and how control transfers.
Learn to write complex functions with multiple parameters, including finding the maximum of three integers and Fahrenheit–Celsius conversions. Practice bottom-up programming, function calls, and type considerations.
Learn to implement predicate functions in C++, returning boolean values to test object types, such as even numbers and vowels, using simple one-line expressions and tests.
Explore how void functions differ from value returning functions and learn to implement and call a void function that prints a name and date with a border and accepts parameters.
Discover how to swap two variables in C++ with a void function using pass by reference, avoiding copies and updating both values.
Explore writing functions to compute quality points from letter grades, perform gpa calculations, and derive initials from names, then adapt the calculator program to use functions.
Rewrite calculator as a function named calc that takes two operands and an operator, returning a double. Call this function from main and loop to reuse code across C++ programs.
Introduces vectors as a data structure to store multiple values under one name, demonstrates using push back, size, and subscript to collect and average grades.
Learn three vector initialization methods in c++: no storage, reserve a fixed size, or set a default value; access with subscripts and print elements.
Learn to add data to a vector in C++ using pushback, direct subscript assignment, or initializing with default values; understand vectors as a bag-like container where order isn't guaranteed.
Explore how to access vector data in C++ using direct indexing and loop traversal, then compare push_back and pop_back as data addition and destructive removal.
Learn to use vectors as function parameters and arguments, total and display vector elements, and curve grades by passing by reference to modify the original data.
Generate and seed random numbers in c++ using the standard library and time, fill a vector, and test sorting and searching on large datasets.
Explore searching a vector by implementing a manual loop to locate an index, compare with the built-in at method, and note that not found returns -1.
Explore sorting vectors in C++ using the algorithm library's sort with begin and end, sorting integer and string vectors and comparing unsorted and sorted results.
Learn to determine palindromes in c++ by building a reverse word with a vector. Compare the original word to its reversed form to decide if it is a palindrome.
A Verifiable Certificate of Completion is presented to all students who undertake this course.
As one of the most popular general purpose programming languages in the world, C++ can be used to create everything from small apps to complete video games and critical system drivers. Now you can get started with C++ in a step by step, hands-on video course, in far less time than trying on your own with this ultimate c plus plus tutorial .
In this 10 hour tutorial series, computer science professor Mike McMillan introduces you to the basics of programming in C++. With over 25 years of programming experience, 13 years of teaching, and having written 6 textbooks on programming, Mike offers the definitive guide to coding. Starting with the basics of the C++ programming language, this video tutorial covers all of the basic operations you need to start building your own programs with c plus plus programs