
Explore c++ programming from basics to advanced, covering data types, keywords, functions, operators, arrays, pointers, structures, and object oriented concepts like classes, inheritance, polymorphism, and encapsulation, with examples and questions.
Any C++ Program starts with main() function, Program should contain at least one function main() function is mandatory, In this program we also included header file <iostream> this file contains functions cin and cout, To use cin and cout in our program we should include this header file.
Commenting is always a good practice while writing a program, It is useful to describe the purpose of the program and why you have written particular group of code.
Declare a variable named grade of character data type and allocate one byte of memory. Initialize grade to 'B' and print the message grade is B from the variable grade.
Learn how to use the float data type in C++, assign values like 23.25, print results, and compare its memory size and precision with double and long double.
Learn to write a simple C++ program that adds two numbers by declaring a, b, and c, getting input, computing c = a + b, and printing the result.
Write a C++ program that asks for the user’s name and age, stores them in variables, and prints the name and age with proper formatting.
Explore escape sequences in C++ and learn how to control output with newline and space characters, placing the cursor on new lines and formatting printed names and data.
Learn how to declare and initialize constants with the const keyword in C++, so values cannot be changed during a program, and explore defining constants with a define statement.
Learn to create a new line in c++ using define and escape sequences, and see how the preprocessor replaces the define to place the cursor on the next line.
Explore arithmetic, relational, logical, and bitwise operators in C++, with examples of plus, minus, multiply, divide, modulus, increment, and assignment operators.
Explore a C++ program that uses if statements to evaluate a user-entered number and print whether it is positive, negative, or zero, including single-line and multi-condition variants.
Learn to write a C++ program that finds the largest of three user-entered numbers using if-else comparisons to print the result.
Explore nested if statements to determine the greatest of three values using sequential conditional checks, understand the logic and syntax, and implement multiple valid approaches.
Learners see how to write a for loop in C++ with initialization, condition, and increment, print values from 1 to 10, and include headers and a main program.
Learn how to use nested for loops to print all multiplication tables from 1 to 10, exploring inner and outer loop structure and how repeated iterations generate combined results.
Demonstrates the do-while loop, showing how it executes the block at least once before testing the condition, unlike the while loop which checks first.
Learn to compute a factorial in C++ with a while loop by initializing factorial to 1, reading a number, multiplying by the number while it decreases, and printing the result.
Explain how the break statement exits a loop when a condition is met, illustrated by counting up to 200 and stopping at 50 so only 50 values are printed.
Explain the break and continue statements in C++ with while loops, showing how continue skips iterations and break exits loops to control program flow.
Explore switch statements, using cases, default, and break to handle user input, and build a simple calculator program with three chances.
Explore C++ functions from declaration to definition, including return types, parameters, and function signatures. Learn how to declare, define, and call functions alongside main and standard library helpers.
Learn to declare and implement a simple add function in C++, include header files, use a namespace, pass two numbers, call it from main, and print the result.
Explore arrays in c++ by understanding one-dimensional and multi-dimensional arrays, their contiguous memory locations, and how to declare and access elements using indices.
Learn how one dimensional arrays store consecutive elements in memory and access them with square brackets. Discover that each element occupies 4 bytes in a contiguous memory layout.
Explore one dimensional arrays in c++, using a for loop to declare, access, and print elements by index, and see how updating a value changes the subsequent outputs.
Learn to handle arrays in C++ by entering values, initializing elements, and using for loops to read and print numbers.
This lecture demonstrates printing array elements in C++ using indexing with i and square brackets, and adjusting the output format for readability.
C++ is a general purpose programming language.C++ was developed by Bjarne Stroustrup at At&T Bell Labs
C++ Programming Language is used in various software developments and in even gaming. C++ is object oriented language.
This course teaches you everything about C++ starting with basic operations with examples to object oriented concepts, It covers all the topics in C++ from basics to most advanced topics, Every lesson is explained in details with example code.
Those who want strong knowledge or want to learn programming language can take this course.
This course is divided into three parts