-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
392b013
commit b1908bc
Showing
21 changed files
with
759 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Day 01", | ||
"position": 2, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Day 02", | ||
"position": 3, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Day 03", | ||
"position": 4, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"label": "Day 04", | ||
"position": 5, | ||
"link": { | ||
"type": "generated-index" | ||
} | ||
} |
Oops, something went wrong.