Skip to content

Rahwik-CPP/CPP_BASIC_TO_ADVANCE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Programming in C/C++ Efficiently

Git Repository Overview

This Git repository serves as a comprehensive resource for mastering C++ basics and Object-Oriented Programming (OOP) concepts. Whether you're a beginner or an experienced programmer, this repository is designed to provide a well-organized collection of programs, tutorials, and documentation to enhance your C++ development skills.

Key Features:

  1. Fundamental Syntax:

    • Explore the core syntax of C++ programming language.
    • Understand data types, variables, and basic operations.
  2. Object-Oriented Programming (OOP) Concepts:

    • Learn essential OOP principles such as encapsulation, inheritance, and polymorphism.
    • Apply OOP concepts to design and structure your programs efficiently.
  3. Examples and Exercises:

    • Engage in hands-on practice with a multitude of examples and exercises.
    • Reinforce your understanding of key concepts through practical application.

DAY 1: Getting Started

1. The First Example:

Write a Cpp program to print hello world.

2. The Second Example:

Write a cpp program to print hello world using namespace std.

3. The Third Example:

Write a cpp using the function endl.

4. The fourth Example:

Write a Cpp program using the function endl.

5. The Fifth Example:

Write a Cpp program using the basic Arithmethic operators.

DAY 2: Moving On

1. The First Example:

Write a Cpp program for different types of data types.

2. The Second Example:

Write a cpp program to enter the values in the ruun time and display them.

3. The Third Example:

Write a cpp program to implement simple arrays or array basics.

4. The fourth Example:

Write a Cpp program to use for loop and traverse a 1d array.

5. The Fifth Example:

Write a Cpp program using while loop and do while loop.

DAY 3: Challenges

1. The First Example:

Write a Cpp program using for each loop to implement arrays.

2. The Second Example:

Write a cpp program to implement Auto using for each loop .

3. The Third Example:

Write a cpp program to find the sum of the array elements.

4. The fourth Example:

Write a Cpp program to find max elemnt in the array.

5. The Fifth Example:

Write a Cpp program for binary search.

DAY 4: Exploration

1. The First Example:

Write a Cpp program to implement a pattern.

2. The Second Example:

Write a cpp program to implement a pattern.

3. The Third Example:

Write a cpp program to implement a pattern.

4. The fourth Example:

Write a Cpp program to implement 2D arrays.

5. The Fifth Example:

Write a Cpp program for to implement a 2d array using for each.

DAY 5: Creativity.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program using pointers and do some traversal.

2. The Second Example:

Write a cpp program for allocation and deallocation in pointers.

3. The Third Example:

Write a cpp program to create a reference pointer using pointer location.

4. The fourth Example:

Write a Cpp program to implement pointer to function in CPP.

5. The Fifth Example:

Write a Cpp program to implement pointer to function and find the min value of the two arguments.

DAY 6: Persistence.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement simple fumctions.

2. The Second Example:

Write a cpp program to implement function overloading.

3. The Third Example:

Write a cpp program to implement function template.

4. The fourth Example:

Write a Cpp program to implement function template .

5. The Fifth Example:

Write a Cpp program to implement function template using public and private functions template.

Object Oriented Programming starts

DAY 7: Optimization.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement class.

2. The Second Example:

Write a cpp program to implement pointer to class.

3. The Third Example:

Write a cpp program to implement heap to class.

4. The fourth Example:

Write a Cpp program to implement Data Hiding in CPP .

5. The Fifth Example:

Write a Cpp program to implement Data Hiding in CPP.

DAY 8: Adaptability.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Constructors.

2. The Second Example:

Write a cpp program to implement Types of Constructors.

3. The Third Example:

Write a cpp program to implement Scope Resolution Operator.

4. The fourth Example:

Write a Cpp program to implement Inline Functions .

5. The Fifth Example:

Write a Cpp program to implement Operator Overloading.

DAY 9: Innovation.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Friend Operator Overloading.

2. The Second Example:

Write a cpp program to implement Insertion Operator Overloading.

3. The Third Example:

Write a cpp program to implement Inheritance.

4. The fourth Example:

Write a Cpp program to implement Inheritance.

5. The Fifth Example:

Write a Cpp program to implement Inheritance.

DAY 10: Reflection.

1. The First Example:

Write a Cpp program to implement Constructors in Class Member.

2. The Second Example:

Write a cpp program to implement Is-A relationship.

3. The Third Example:

Write a cpp program to implement Has-A relationship.

4. The fourth Example:

Write a Cpp program to implement Access Specifiers.

5. The Fifth Example:

Write a Cpp program to implement Base Class Pointers.

DAY 11: Determination.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Function Overloading in Polymorphism.

2. The Second Example:

Write a cpp program to implement Virtual Functions.

3. The Third Example:

Write a cpp program to implement Virtual polymorphism

4. The fourth Example:

Write a Cpp program to implement Runtime polymorphism.

5. The Fifth Example:

Write a Cpp program to implement Runtime polymorphism.

DAY 12: Consistency.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Abstract classes.

2. The Second Example:

Write a cpp program to implement Friend Function and Classes.

3. The Third Example:

Write a cpp program to implement Static Members.

4. The fourth Example:

Write a Cpp program to implement Static members.

5. The Fifth Example:

Write a Cpp program to implement Nested classes in CPP.

DAY 13: Resilience.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Exception Handling.

2. The Second Example:

Write a cpp program to implement Template functions and classes.

3. The Third Example:

Write a cpp program to implement Constructors.

4. The fourth Example:

Write a Cpp program to implement Destructors.

5. The Fifth Example:

Write a Cpp program to implement IO streams.

DAY 14: Learning Never Ends.

0. Some Basic Concepts:

1. The First Example:

Write a Cpp program to implement Vector.

2. The Second Example:

Write a cpp program to implement Maps.

3. The Third Example:

Write a cpp program to implement File handling in Vector.

4. The fourth Example:

Write a Cpp program to implement File handling in Vector.

5. The Fifth Example:

Write a Cpp program to implement Maps.

Next Steps:

Continue your learning journey by exploring the examples and exercises provided in this repository. Gain practical experience to solidify your grasp of C++ programming and OOP principles.

C++ Projects Showcase

1. Snake Game

2. Tic Tac Game

3. Guess The Number

4. Calculator

5. Rock Paper Scissors

5. Power Options

6. HangMang Game

7. Base Converter Program

Happy coding!

About

Complete CPP programs in detailed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages