
Explore the basics of C++ operators, including +, -, *, /, and %, learn integer division, casting to double for decimals, and how exponentiation requires a library.
Explore variables and data types in c++, including primitives like integers, doubles, and characters, and booleans; declare with explicit types, and use typedef to create custom types while evaluating expressions.
Explore the string object in C++, declare strings with double quotes, distinguish from C strings, access characters with zero-based indexing, and measure length with size().
Learn string manipulation in C++, including concatenation with the addition operator, spacing between words, escape sequences for quotes and tabs, and using to_string to append numbers.
Use conditional statements in c++ with if, else if, and else to control code execution. Compare values with greater than, equal, or lesser and print outcomes.
Learn to declare and initialize c++ arrays, specify length, and populate with values; apply zero-based indexing to access and modify elements while noting arrays store a pointer.
Learn how vectors differ from fixed-size arrays by dynamically resizing, adding elements with push back, and printing or accessing items via iterators such as begin and end.
Learn to use for and while loops in C++ to repeat code, with initialization, condition, and increment; know when to apply for vs while, and populate vectors with numbers.
Explore for-each loops and loop control in C++ by using break and continue to manage iteration and avoid infinite loops, and apply for-each to vector V for clean element iteration.
Learn memory management in C++ by using the sizeof operator to determine how many bytes a type or variable occupies, from int four bytes to double eight bytes.
Learn how structs group attributes to represent a person in c++, initialize and access fields with the dot operator, and understand how padding and size influence memory layout.
Understand how references differ from normal variables in C++, using the ampersand to bind a name to another variable so changes to the reference update the original.
Explore how pointers in C++ hold memory addresses, use the asterisk and ampersand to dereference and obtain values, and understand pointer sizes and multi-level pointers.
Explore dynamic memory allocation in C++, using the new operator to allocate on the heap, dereference pointers, and access data with the arrow operator.
Delete heap-allocated memory created with new to prevent memory leaks and dangling pointers. Identify when heap memory is destroyed (at program end) and why explicit deletion preserves memory during runtime.
Learn how to create and manage arrays on the heap with pointers, using new and delete[], and how pointer arithmetic and array indexing are equivalent for accessing elements.
You will learn introductory C++ programming constructs. In this course, you will be exposed to all of the fundamental constructs of programming such as loops, arrays, operators, and functions. You will learn procedural programming first to develop a strong basis of computational logic. Then you will learn about memory management in C++. Altogether, this course will unlock the doors to learn about computer systems (e.g. operating systems, networking) and conduct computer science research with C++.