
Discover why C++ is a general-purpose, versatile language used for application and web development, even operating systems, with object-oriented programming and libraries that support competitive programming.
Explore the basic components of a C++ program, including one file, the namespace, and the main function, plus objects and input/output to display and receive data.
Learn to write a first C++ program using an online compiler, include iostream and std namespace, define int main, and print Hello World with cout and newline.
Trace how a C++ source code passes through preprocessor, compiler, assembler, and linker to become an executable binary, linking libraries when needed.
Explore C++ data types and variables, learn how a variable stores a single value in memory, and master naming rules with examples of int, float, double, char, and bool.
Learn how C++ datatypes behave when assigning floats to ints, observe truncation rather than rounding, explore default zero initialization, and print results, including character literals.
The lecture shows how a 32-bit signed integer uses four bytes to store values from -2147483648 to 2147483647, detailing positive and negative limits.
discover how 32-bit floating point values are stored, tracing bit usage from four bits to thirty-two bits and how the sign relates to positive, negative, and zero cases.
Discover how double precision uses eight bytes to provide a very high range. Show how doubles enable portable storage of huge values in C++, and preview modifiers.
Explore how namespaces prevent naming conflicts in C++, focusing on the standard namespace and using namespace std. Learn how to access alternative namespaces with qualified names to avoid collisions.
Explore how signed and unsigned modifiers determine value ranges for integers, clarify when values are positive or negative, and explain the memory implications of using these modifiers.
Learn how short integers use two bytes of memory (16 bits) and explore the signed range from -32768 to 32767, including overflow when values exceed the maximum.
Discover the six categories of operators in C/C++, including arithmetic, assignment, relational, logical, bitwise, and special operators, with theory and hands-on coding.
learn how to use assignment operators in C and C++, including x = value, x += value, x -= value, x *= value, and x /= value to update variables.
Explore relational operators in c++ that compare two numbers or variables, returning true or false; learn equals, not equals, greater than, less than, and their inclusive forms.
Learn how comments document code in C++ using // for single-line and /* ... */ for multi-line blocks. Explore pre and post increment and decrement operators and their effects.
Learn how logical operators work in c++, using zero and non-zero values to evaluate and, or, and not. Understand true and false conditions, operand interactions, and equality comparisons.
Learn how operator precedence and associativity govern expression evaluation in C, with examples of parentheses overriding order, multiplication before addition, and left to right evaluation for equal precedence operators.
Explore the bitwise and operator in C++, apply it to integers or characters, examine bits, convert to binary, perform the operation, and convert the result back to decimal.
Explore bitwise or by converting integers to binary, applying per-bit or rules, and converting the result back to decimal, with beginner-friendly examples.
Explore bitwise xor and bitwise not operations in C++ with unary and binary examples. Learn how to convert decimals to binary and apply complements to compute results.
Explore bitwise left and right shift operators in C++, shifting by multiple bits, and how left shifts multiply by two while right shifts discard bits and fill the high bits.
Explore how if-else statements implement conditional logic in C++, executing a code block when conditions are true and an optional else block when false, using relational operators and user input.
Explore the concept of loops in programming with a focus on C++: use for, while, and do-while to execute repeated instructions, control conditions, and avoid infinite loops.
Explore the for loop in C++, mastering initialization, condition, and increment, and see how the loop prints numbers from one to fifty by updating a counter each cycle.
Learn how to implement a for loop in C++ to iterate numbers from a start value to an end value, print digits, and create more efficient code through practical examples.
Compare while loops and for loops, detailing outside initialization and inside increment for while loops, versus declaration-time setup for loops. Explain when to use unknown vs known iteration counts.
Explore the do-while loop in C++ and learn why it executes at least once before checking the condition, with syntax and practical examples.
Learn to generate the Fibonacci series in C++, starting with 0 and 1, summing the two previous terms to produce each next value, and printing up to a limit.
Explore how to declare arrays in C++ with a specified size, use indexing to access elements from zero, and handle input, output, and out-of-bounds errors.
Learn how to declare an array, set its maximum size, input elements with a for loop, store them via indexing, and print the array elements in a C++ program.
Learn to reverse the contents of an array in place in C++ by swapping symmetric elements from the ends, without using an extra array.
Learn how two-dimensional arrays in C++ form matrices of rows and columns, declare them with [rows][columns], populate six elements in a 2x3 grid, and access items using zero-based indices.
Explore nested for loops by using an outer and inner loop to traverse rows and columns, with initialization, condition checks, and increments demonstrated through a simple example.
Declare a two-dimensional array, read the number of rows and columns and each element from the user, then traverse the matrix to print its values row by row.
Learn how functions, or subprograms, encapsulate tasks in c++, including declaration, definition, formal (dummy) arguments, and function calls, and how return values transfer control to main.
Declare a simple function with no arguments and no return that prints 'hi' using cout, then call it from main to print hi twice as the program runs.
Learn how to define a two-argument function with a return value in C++, call it from main, pass 10 and 14, and print the result 24 while exploring local scope.
Explore how a function acts as a processor by computing a circle's area and circumference from a given radius.
Explore how structures in C++ create a user defined data type to group student details: name, roll number, and contact number into a single compact data structure.
Learn how to define a struct in C++ with data members like string, int, and arrays, declare struct variables, and access members using the dot operator for input and output.
Master recursion by watching a function call itself until a base case is reached, using a main function, recursive calls, and backtracking to compute results.
Explore recursion with a detailed tracing of function calls through an example, from main to helpers, backtracking from the base case to accumulate return values.
Learn how to write recursive functions in c++ using factorial as a guiding example, including base and recursive cases, function structure, and tracing calls from the main function.
Learn how to create strings in C++ using character arrays, using single and double quotes, and how to read strings from user input through three input methods.
understand the problem of using cin for strings in c++, where spaces aren’t captured and only the first word is read, and learn the next method for getting strings.
Master using the string get method in C++, calling the object's get to extract a substring from a starting location up to a maximum size, preserving spaces.
Explore string objects in C++ by declaring strings via the stream object, treating string as a data type, and reading input with getline for string data.
Explore pointers and addresses in C++, learn how a pointer stores a variable’s address, how the address-of and dereference operators work, and how copying addresses differs from copying values.
Learn how to declare pointer variables in C++ using the pointer symbol, how the compiler recognizes pointers, and how to store the address of another variable, such as y.
Declare a float variable and a float pointer, assign the variable's address to the pointer, then dereference to read the value and print both address and value.
Explore the types of pointers in c++, including null pointers, wide pointers, and wild pointers, and learn how each type handles addresses and data types.
Explore how arrays are stored sequentially in memory, from starting addresses and element addresses to how the array name points to the first element, revealing pointer basics in C.
Explore how pointers to an array use the base address to access the first element, dereference values, and traverse all elements with pointer arithmetic.
Explore how pointers passed as arguments enable call by reference, passing addresses to swap values and modify the original variables, and compare behavior inside a function versus in main.
In this course, C++ Programming from Scratch to Advanced, You'll learn everything to make you confident on C++ concepts.
The primary course objectives will be
1. Understanding the fundamentals of programming.
2. Analyzing the range of each and every datatype and understanding how they're stored in the memory.
3. Understanding how a C++ Program gets executed and converted into object code.
4. Implementing high level programming constructs in an easy manner in c++
5. Understanding the importance of addresses and pointers.
6. Knowing how to use pointers.
7. Understanding the significance of Objects, Classes and Inheritance and knowing how to implement them.
8. Understanding the differences between Access Modifiers and Data Modifiers and how they influence the classes and their data members.
9. Solving Interview Problems in C++ (NEW!)
Features:
1. The trickier concepts of C++ like Pointers, Inheritance, Pointer to an array, Pointer to a function, Multilevel Inheritance are clearly explained.
2. The course has video content from the scratch of programming. So, this suits even if someone is no exposed to any of the programming languages.
3. Solving some standard programming problems.
4. The concept of Recursion is clearly interpreted.
5. The concept of Bitwise Operators is explained by performing Decimal to Binary conversions.
6. The usage of constructors is explained.
7. Problem Solving in C++
Note: For all the lectures, the lecture notes and the source codes have been uploaded.