Skip to content

Commit

Permalink
update: updated content till day 05
Browse files Browse the repository at this point in the history
  • Loading branch information
subhadipbhowmik committed Dec 9, 2023
1 parent 392b013 commit b1908bc
Show file tree
Hide file tree
Showing 21 changed files with 759 additions and 21 deletions.
7 changes: 7 additions & 0 deletions docs/day-01/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 01",
"position": 2,
"link": {
"type": "generated-index"
}
}
59 changes: 59 additions & 0 deletions docs/day-01/history-of-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
sidebar_position: 3
---

# History of CPP

Welcome to the world of C++ programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
61 changes: 61 additions & 0 deletions docs/day-01/introduction-to-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
sidebar_position: 1
---

import CustomTag from '@site/src/components/TagsComponents/CustomTag';

# Introduction to C++

Welcome to the world of C++ <CustomTag bgcolor="#e9eaff">programming </CustomTag> programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
59 changes: 59 additions & 0 deletions docs/day-01/static.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
sidebar_position: 2
---

# Static of CPP

Welcome to the world of C++ programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
7 changes: 7 additions & 0 deletions docs/day-02/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 02",
"position": 3,
"link": {
"type": "generated-index"
}
}
55 changes: 55 additions & 0 deletions docs/day-02/variables-in-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# Variables in CPP

Welcome to the world of C++ programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
7 changes: 7 additions & 0 deletions docs/day-03/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 03",
"position": 4,
"link": {
"type": "generated-index"
}
}
59 changes: 59 additions & 0 deletions docs/day-03/expression-in-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
sidebar_position: 2
---

# Expressions in CPP

Welcome to the world of C++ programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
59 changes: 59 additions & 0 deletions docs/day-03/operators-in-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
---
sidebar_position: 1
---

# Operators in CPP

Welcome to the world of C++ programming! C++ is a powerful and versatile programming language widely used for developing various applications, ranging from system software, games, and embedded systems to high-performance applications.

## What is C++?

C++ is an extension of the C programming language with added features such as object-oriented programming (OOP) capabilities. It provides a robust set of tools and allows low-level memory manipulation while also supporting high-level abstractions. Known for its efficiency and performance, C++ is often chosen for applications that require speed and resource management.

## Key Features of C++

### Object-Oriented Programming (OOP)

C++ supports the principles of OOP, enabling developers to create classes, objects, inheritance, polymorphism, encapsulation, and abstraction. This paradigm helps in organizing and structuring code for better maintainability and reusability.

### Standard Template Library (STL)

The Standard Template Library in C++ provides a collection of classes and functions that implement various common data structures (like arrays, vectors, lists, maps) and algorithms (such as sorting, searching). This library simplifies complex tasks and enhances productivity.

### Performance and Efficiency

C++ allows fine-tuning of performance-critical parts of code by providing control over memory management and offering features like inline functions, which can significantly enhance execution speed.

### Portability

C++ code can be compiled on different platforms with minimal changes, making it a portable language suitable for cross-platform development.

## Getting Started

To start programming in C++, you'll need a development environment with a C++ compiler. Popular compilers include GCC, Clang, and Microsoft Visual C++. You can choose an Integrated Development Environment (IDE) like Visual Studio, Code::Blocks, or CLion to write and compile your code efficiently.

Here's a simple "Hello, World!" example in C++:

```cpp
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
```

Save this code in a file with a `.cpp` extension, compile it using a C++ compiler, and execute the resulting program to see the output.

## What's Next?

- **Learn Basic Syntax**: Dive into the syntax, data types, control structures, and functions in C++.
- **Explore Advanced Concepts**: Study topics like pointers, memory management, templates, and exception handling.
- **Practice, Practice, Practice**: Solve programming challenges and work on projects to reinforce your learning.
- **Refer Official Documentation**: Utilize online resources, books, and official C++ references to deepen your understanding.

C++ is a vast language with numerous possibilities. Enjoy your journey in mastering this versatile programming language!

---

Feel free to expand upon this content and include more details, examples, or exercises based on your audience's needs and the depth of the tutorial you're planning to create.
7 changes: 7 additions & 0 deletions docs/day-04/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 04",
"position": 5,
"link": {
"type": "generated-index"
}
}
Loading

0 comments on commit b1908bc

Please sign in to comment.