
Learn to build your first C++ project by printing hello world using the input-output stream, using namespace std, and the main function that returns zero.
Learn to declare and initialize variables in C++, using int, float, double, char, and string. See how x and y form z, print results with the output stream.
Practice 3 demonstrates using local and global variables in C++ by building a simple program within the main function that adds values and explains variable scope and precedence.
Learn to build a simple C++ user input system for absolute beginners, using cin to read numbers into int variables and cout to print results.
Learn to accept string input from users in a C++ program by declaring a 200-character buffer, reading with getline, and echoing the entered text.
Learn to build a simple C++ program that adds two numbers by initializing int x, y, and sum, prompting to insert first and second numbers, and displaying the result.
Learn to perform add, subtract, multiply, and divide in C++ using variables x and y, compute sum, product, difference, modulus, and float division with cin and cout.
Learn to build a C++ program that adds n numbers within a user defined range using a for loop, initialize sum to zero, read inputs, and print the result.
Master the if statement in C++ by defining x and checking if x is greater than 35, printing 'the value of x is above expected result' and 'you inserted x'.
Demonstrate nested if statements in c++ by initializing x and y, checking x==80 and y==52, and printing results with cout when conditions are met.
Master the if-else statement in C++ by using conditions to guide user feedback, as shown with examples like password checks and input validation for an ATM scenario.
Explore if else if statements in c++ by building a simple program that reads a student's mark and assigns a letter grade based on ranges.
Practice 13 demonstrates using the switch statement in C++ by building a project that reads a grade from A to F and handles cases with a default for invalid input.
Demonstrates nested switch statements in C++, using x = 87 and y = 40, with a switch on x containing a switch on y that prints first and second cases.
Learn how to implement a while loop in c++ by initializing x to 10, looping while x < 20, incrementing x, and printing each value with cout.
Demonstrate a do while loop in C++, starting with x=1, printing and incrementing until x reaches 20, and compare it with a while loop for beginners.
Learn to use for loops in C++, building a simple project that prints values from 1 to 20 and compares with while and do while loops.
Initialize x and y, run nested for loops to print prime numbers from 2 to 100 in C++, using modulus checks and break to identify primes with cout.
Build a simple C++ project to calculate the area of a triangle from user input height and base using the formula base times height divided by two.
Build a C++ program that detects even and odd numbers using user input and the modulus operator. Use an if-else construct with x % 2 == 0 to classify numbers.
Learn to read a number from the user and sum its digits using modulo ten and division by ten in a do while loop, then display the result.
Build a simple c++ program that reads three numbers, uses if statements to determine the greatest, and prints which value is the greatest.
Learn to swap numbers in c plus plus using three variables x, y, and z by requesting user input and showing numbers before and after swapping.
Swap two numbers using two variables in c++ by x=x+y; y=x-y; x=x-y, with before and after demonstrations.
Demonstrates a seven-subject C++ exercise that inputs marks, sums them, and computes the percentage using a float, with the total set to 800, and prints the result.
Learn to build a simple C++ program that calculates gross salary from a user's basic salary using input and output streams, with variables and arithmetic operations.
Build a simple interest calculator in C++ by querying principal amount, rate, and period, using cin and cout, and computing principal times rate times period divided by 100.
Enter a year and determine if it is a leap year in C++ using an int year variable, user input, and if (year % 4 == 0) to decide.
Compute the highest common factor using a recursive function in C++. Define HCF(x, y), read two integers, and print the HCF of x and y.
Learn to implement a simple C++ program to calculate the lowest common multiple of two numbers using input prompts, modulus checks, and a loop with break to stop repetition.
Create a simple C++ project that calculates hcf and lcm of two numbers, using a function outside main, with long variables, and printing both results.
Learn to compute factorials and implement functions for ncr and npr, where c stands for combinations and p for permutations, using standard factorial formulas.
Practice 33 demonstrates reversing a user-entered number in C++ by using a while loop, modulo ten, and a running reverse variable with input and output streams.
Learn to reverse an array of numbers in C++ by collecting a user-defined range into an array and printing the elements in reverse order using for loops.
Create a simple C++ palindrome checker that reverses digits with a rev variable for positive numbers, then compares the reversed value to the original number.
Develop a simple c++ prime number checker by prompting the user for a number. Iterate from 1 to that number, counting divisors, and declare prime when the count equals two.
Learn to list prime numbers up to a chosen limit in C++ by implementing a list_prime function, testing divisibility from 2 to n-1, and printing found primes.
Learn to check Armstrong numbers in C++ by summing the cubes of digits and comparing to the original number using a while loop.
Develop a simple C++ project to generate Armstrong numbers within a user-defined range, using for and while loops, modulo operations, and digit-cube sum to identify Armstrong values.
Write a simple c++ program that calculates factorials using a for loop, prompts the user for a number, and prints the factorial result.
Compute factorials in C++ using a recursive function fact with a base case of 1 and a recursive case n * fact(n-1); read input in main and print the result.
Learn to generate a Fibonacci series in C++ with a non-recursive approach using a for loop and user input. The next lecture adds a recursive function.
Learn to implement a recursive Fibonacci function in C++ and print a Fibonacci series using a for loop that prompts for the number of terms and displays the results.
Explore c++ mathematical functions using the cmath header, applying sin, log, abs, floor, sqrt, and pow to variables like x, y, a, and b.
Learn to generate random numbers in C++ by including the standard library, reading a user-defined range and maximum value, and printing results with a for loop and cout.
Practice converting binary to hexadecimal in a C++ program by reading binary input, using modulus and division in a loop, and printing the hexadecimal result.
Convert binary to octal with a simple C++ program. Use user input, a while loop, modulo, and division to compute and print the octal equivalent.
Learn to convert binary input to its decimal equivalent in a C++ program. Use a while loop, modulus, and division to compute and print the result.
Convert decimal numbers to octal in a C++ program by using a while loop, modulus, and division by eight, accepting decimal input, then print the octal result.
Develop a simple C++ program that converts a decimal input to binary using a while loop, modulus 2, and a running binary value, then print the binary equivalent.
Convert a decimal input to its binary bitwise representation in C++ by iterating with a for loop, applying right shift, and printing each bit conditionally.
Learn how to implement a C++ program that reads n numbers into an array and prints the first and last elements using array indices and a for loop.
learn how to pass arrays to functions in c++, compute the average of an array with a function, and pass the array and its size to print the result.
Learn to write a C++ program that reads array elements, iterates with a for loop, identifies the maximum value and its position, and prints the result.
Discover how to find the minimum element in an array in c++ by reading elements, iterating with a for loop, and tracking the minimum value and its position.
Learn how to reverse array elements in C++ by building a simple project that reads an array range and uses for loops to reverse and print the array.
Insert a new element into a chosen position in a C++ array by shifting elements to the right, after setting the range and printing the updated array.
Learn how to delete an element from an array in C++ by inputting elements, selecting a position, and shifting subsequent elements.
Learn to merge two arrays in c++ by implementing a merge function, handling input, and printing the merged result using nested if logic and for loops.
Learn to add two matrices in C++ by inputting rows and columns, filling two matrices, and computing their sum with nested for loops, then printing the result.
Learn to subtract two matrices in c++ by inputting rows and columns, filling two matrices, performing element-wise subtraction, and printing the result.
Learn how to transpose a matrix in C++ by interchanging rows and columns, collecting matrix input from the user, and printing the transposed result.
practice 63 shows how to multiply two matrices in C++, by prompting for rows and columns, inputting matrices, validating dimensions, performing multiplication with nested loops, and printing the result.
Learn simple string formatting in C++ by creating a char array large enough for the text and assigning hello world. Print the string using cout to display hello world.
Learn to check a string's length with a for loop in C++. The lesson shows initializing counters, iterating through characters until the null terminator, and printing the length.
learn how to check string length in c++ by using a function from the c string library, including input handling and printing the result.
Learn how to compare two strings in C++ using a for loop, with input prompts, a flag to track equality, and final output showing equal or not equal.
Learn to compare two strings in C++ with the strcmp function, including the string header, declaring char arrays, reading input, and checking for equality when strcmp returns zero.
Learn how to copy strings in C++ using a for loop, initializing two 100-element char arrays, taking user input, copying from one to the other, and displaying the copied string.
Learn to copy strings in c++ with strcpy by using two 100-character buffers, including the string header, reading input, and printing the copied result.
practice concatenating two input strings with a for loop in c++, by reading strings, iterating over their lengths, and producing a joined result.
Learn to concatenate two strings in C++ using strcat, including the string header, read two inputs, append one string to the other, and print the result.
Learn how to reverse a string in C++ with a while loop by swapping characters from the ends toward the center, using the string header and user input.
Learn how to reverse a string in C++ using the strrev function, including header setup, input, calling the function, and printing the reversed string.
Convert uppercase to lowercase in c++ using a while loop, first without a function, then via a case_lower function that processes a string and prints the transformed result.
learn how to convert an uppercase string to lowercase in c++ using the strlwr function, including input handling, string usage, and displaying the lowered result.
Learn to convert lowercase to uppercase in c++ using a while loop with a case_upper function that takes a char string and outputs the uppercase result.
Learn to convert a lowercase string to uppercase in C++ using the strupr function, including the string header and reading input into a char array, then printing the result.
Learn to compute the frequency of a character in a string using c-style strings, getline, and a for loop to count occurrences.
Learn how to check vowels and consonants in C++ using if statements, handling lowercase and uppercase vowels, and printing results based on user input.
Count vowels, consonants, digits, and whitespaces in a string with a simple C++ program using a for loop and getline input.
Explore a simple C++ array search using a for loop to gather elements and a while loop with a mid index to locate and report the element's position.
Learn to search for an array element with a recursive function in C++. Build a function that returns whether the value is found within given indices.
Implement bubble sort in C++ to sort an array: read elements, perform nested loops, swap when needed, and print the sorted array.
Learn to implement insertion sort in C++ to sort an array, collect range and elements with for loops and while loops, and print the sorted results.
This lecture builds a simple C++ project to sort an array using selection sort, with input prompts, nested loops, and printing the sorted results.
Demonstrate call by value in C++ by building a two-number addition program with a function that returns the sum and prints the result.
Learn how to swap two integers by reference in C++ using a void ref_swap function, passing x and y by reference and updating values in main.
Learn to implement call by pointer in C++ with a swap function that uses addresses of x and y to exchange values, showing before and after results.
Write to a text file in C++ using fstream. Open an output file stream, write content, and close the file.
Learn to read text from a file in c++ by using ifstream, including fstream, and printing data with a for loop while handling file paths.
learn to add two numbers in C++ by creating an addition function that takes x and y, returns their sum, and prints the result.
define a C++ function that takes two ints and returns their difference, then read two numbers in main, call the function, and print the result.
Learn to create a simple C++ class for a rectangle that calculates area, with public members for length and breadth, and perform the area calculation using the class.
Learn how to pass arguments to a C++ function, use default values, and see how provided arguments overwrite defaults with practical examples of characters and counts.
Examine inline functions in c++, showing how a function call is replaced by the actual code and how to implement and use a simple addition function in main.
Calculate the length of a string in C++ by implementing a pointer-based function outside the main function, using a while loop to traverse characters and print the computed length.
Create a pyramid pattern in C++ by prompting for the number of rows and using nested for loops with cout and endl to print spaces and the design character.
Design a right angled triangle pattern in C++ using nested for loops to print rows based on user input.
Learn to print a diamond pattern in c++ by prompting for rows, initializing variables, and using nested loops to build the upper and lower halves of the diamond.
Learn to create a numeric right angle triangle pattern in C++ by reading the number of rows from input and printing a grid of numbers using nested for loops.
Design an alphabet right-angle triangle pattern in C++ by printing uppercase letters from A to a chosen end character using nested for loops. User input determines last letter.
Design a Pascal's triangle pattern in C++ by prompting for rows and using nested loops with conditional logic to compute and print the triangle.
Create a simple C++ program to generate Floyd's triangle by initializing x, y, z and n, requesting rows, and using nested for loops to print and increment consecutive numbers.
Learn to create a numeric pyramid pattern in C++ using for and while loops, cout, and user input to print rows of numbers.
Welcome to Practical C++ Programming Practices (100+ Common Projects)! Learning C++ programming language and understanding C++ programming language are two different things. Almost every student enjoy learning C++ programming language. But, only a few number of these students actually understand C++ programming language afterwards. This is where the remaining students are left behind and kept wandering from one course to another over the internet to get the best knowledge on understanding C++ programming language with cups of coffee on their table everyday.
Are you a beginner looking to master C++ programming through practical projects? “108 C++ Programming Practices/Common Projects to Improve Your Coding Skill” is the perfect course for you! This comprehensive course offers a hands-on approach to learning C++, designed to elevate your coding skills from the basics to advanced concepts.
What You Will Learn:
Getting Started:
How to write “Hello World” in C++
Accepting input from users
Summing two integers from user input
Mathematical Operations:
Building a Simple Interest Calculator
Multiplying float numbers
Finding ASCII values
Getting quotient and remainder
Adding complex numbers
Calculating the sum of digit numbers
Geometry and Patterns:
Creating Floyd’s Triangle
Calculating the area of a circle, rectangle, square, and triangle
Calculating the volume of a cube, cylinder, and sphere
Generating random numbers
Real-World Applications:
Calculating gross salary and percentages
Writing programs to shut down the computer, get an IP address, and handle date and time
Conditional Statements:
Detecting even and odd numbers, vowels and consonants, and the greatest of three numbers
Finding roots of quadratic equations and detecting leap years
Displaying student grades
Loops and Functions:
Summing a given number
Calculating factorials, creating multiplication tables, and generating Fibonacci sequences
String and Array Manipulation:
Reversing numbers and strings, checking for palindromes, and creating prime numbers
Calculating HCF and LCM, detecting and generating Armstrong numbers
Creating various patterns like half pyramids, full pyramids, inverted half pyramids, and Pascal’s triangle
Data Structures:
Using structures and unions to handle complex data
Creating and manipulating multidimensional arrays
File Handling:
Writing to, reading from, copying, and deleting files
Conversions and Bitwise Operations:
Converting between binary, decimal, octal, and hexadecimal formats
Building binary patterns
Advanced Patterns and Projects:
Creating diamond patterns, star hash pyramids, nested star hash pyramids, alphanumeric patterns, and numeric diamond patterns
Building simple calculators and more
Why Enroll?
This course offers 108 practical projects that cover a wide range of C++ programming concepts, making it perfect for beginners who want to improve their coding skills. Each project is designed to provide a hands-on learning experience, helping you to understand and apply C++ programming in real-world scenarios.
Learn and practice C++ programming through 108 real-world projects. This course covers:
Writing “Hello World” in C++
Accepting user input and summing integers
Building calculators, including Simple Interest and Gross Salary Calculators
Multiplying float numbers and finding ASCII values
Swapping numbers and strings using various methods
Adding complex numbers and calculating sums of digits
Creating geometric shapes and patterns, including Floyd’s Triangle, pyramids, and diamonds
Generating random numbers and calculating percentages
Developing programs for system utilities, such as shutting down the computer and getting IP addresses
Implementing mathematical algorithms like detecting even/odd numbers, prime numbers, and solving quadratic equations
Creating sequences like Fibonacci and Pascal’s Triangle
Manipulating arrays and strings, including sorting, reversing, and finding lengths
Performing matrix operations: addition, subtraction, multiplication, and transposition
Handling files: writing, reading, copying, and deleting
Converting between different numerical bases (binary, decimal, octal, hexadecimal)
Exploring advanced structures and unions for managing complex data
Implementing best practices for efficient and clean C++ programming
Elevate your C++ skills with comprehensive exercises designed to take you from beginner to advanced coding proficiency. Enroll now and start building your C++ expertise through practical, hands-on projects!
By the end of this course, you will have a solid understanding of C++ programming and the ability to build various applications and solve complex problems with confidence. Join us and take the first step towards becoming a proficient C++ programmer!
100+ C++ programming best practices for absolute beginner is a comprehensive and concise guide with over 10 hours of content that is designed to pick up every interested student from the state of “zero-knowledge” to a state of “Hero-knowledge” in C++ programming with lots of practical C++ projects.
Why Must I Take This Course And What Benefit Is It To ME As A C++ Programmer?
This is the only course on the internet that will help you to become a certified and successful programmer with an in-depth knowledge of the entire aspect of C++ programming and prepare you with the required skills necessary to build you to face job interviews and get employed as a full stack Software developer.
Emenwa Global instructors are industry experts with years of practical, real-world experience building software at industry leading companies. They are sharing everything they know to teach thousands of students around the world, just like you, the most in-demand technical and non-technical skills (which are commonly overlooked) in the most efficient way so that you can take control of your life and unlock endless exciting new career opportunities in the world of technology, no matter your background or experience.