-
Notifications
You must be signed in to change notification settings - Fork 140
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
56ddfda
commit 1ea766b
Showing
28 changed files
with
304 additions
and
0 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 08", | ||
"position": 9, | ||
"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,20 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: "Default Arguments in C++" | ||
description: "In this tutorial, we will learn about Default Arguments in C++ programming with the help of examples. A default argument is a value provided in a function declaration that is automatically assigned by the compiler if the caller of the function does not provide a value for the argument." | ||
sidebar_label: "Default Arguments" | ||
slug: default-arguments-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is Default Arguments in C++? | ||
2. Explain the Syntax of Default Arguments in C++. | ||
3. How to Declare and Define a Function with Default Arguments in C++? | ||
4. C++ Default Arguments Example | ||
|
||
Add More... | ||
|
||
IMAGE FILE: | ||
![Switch in CPP](../../static/img/day-08/default-argument.png) | ||
|
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,21 @@ | ||
--- | ||
sidebar_position: 2 | ||
title: "Function Overloading in C++" | ||
description: "In this tutorial, we will learn about Function Overloading in C++ programming with the help of examples. Function overloading is a feature in C++ where two or more functions can have the same name but different parameters." | ||
sidebar_label: "Function Overloading" | ||
slug: function-overloading-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is Function Overloading in C++? | ||
2. Explain the Syntax of Function Overloading in C++. | ||
3. How to Declare and Define a Function Overloading in C++? | ||
4. C++ Function Overloading Example | ||
|
||
Add more... | ||
|
||
|
||
IMAGE FILE: | ||
![Ternary in CPP](../../static/img/day-08/function-overloading.png) | ||
|
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,20 @@ | ||
--- | ||
sidebar_position: 3 | ||
title: "Inline Function in C++" | ||
description: "In this tutorial, we will learn about Inline Function in C++ programming with the help of examples. An inline function is a function that is expanded in line when it is called. When the inline function is called, the compiler replaces the function call with the corresponding function code." | ||
sidebar_label: "Inline Function" | ||
slug: inline-function-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is Inline Function in C++? | ||
2. Explain the Syntax of Inline Function in C++. | ||
3. How to Declare and Define an Inline Function in C++? | ||
4. C++ Inline Function Example | ||
|
||
Add more... | ||
|
||
|
||
IMAGE FILE: | ||
![Function in CPP](../../static/img/day-08/inline-function.png) |
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 09", | ||
"position": 10, | ||
"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,29 @@ | ||
--- | ||
sidebar_position: 2 | ||
title: "Array in C++" | ||
description: "In this tutorial, we will learn about Arrays in C++ programming with the help of examples. An array is a collection of elements of the same data type that are stored in contiguous memory locations. Arrays are used to store multiple values in a single variable." | ||
sidebar_label: "Array" | ||
slug: array-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is an Array in C++? | ||
2. Explain the Syntax of an Array in C++. | ||
3. How to Declare and Define an Array in C++? | ||
4. C++ Array Example | ||
5. How to Access Elements of an Array in C++? | ||
6. How to Update Elements of an Array in C++? | ||
7. How to Calculate the Size of an Array in C++? | ||
8. How to Traverse an Array in C++? | ||
9. How to Pass an Array to a Function in C++? | ||
10. How to Return an Array from a Function in C++? | ||
|
||
Add more... | ||
|
||
Add more... | ||
|
||
|
||
IMAGE FILE: | ||
![Ternary in CPP](../../static/img/day-09/array-in-cpp.png) | ||
|
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,22 @@ | ||
--- | ||
sidebar_position: 3 | ||
title: "Array in Function in C++" | ||
description: "In this tutorial, we will learn about Arrays in Function in C++ programming with the help of examples. An array is a collection of elements of the same data type that are stored in contiguous memory locations. Arrays are used to store multiple values in a single variable." | ||
sidebar_label: "Array in Function" | ||
slug: array-in-function-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is an Array in Function in C++? | ||
2. Explain the Syntax of an Array in Function in C++. | ||
3. How to Declare and Define an Array in Function in C++? | ||
4. C++ Array in Function Example | ||
5. How to Pass an Array to a Function in C++? | ||
6. How to Return an Array from a Function in C++? | ||
|
||
Add more... | ||
|
||
|
||
IMAGE FILE: | ||
![Function in CPP](../../static/img/day-09/array-in-function.png) |
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,22 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: "Recursion in C++" | ||
description: "In this tutorial, we will learn about Recursion in C++ programming with the help of examples. Recursion is a process in which a function calls itself as a subroutine. This allows the function to be repeated several times, since it calls itself during its execution." | ||
sidebar_label: "Recursion" | ||
slug: recursion-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is Recursion in C++? | ||
2. Explain the Syntax of Recursion in C++. | ||
3. How to Declare and Define a Recursive Function in C++? | ||
4. C++ Recursion Example | ||
|
||
Add More... | ||
|
||
Add More... | ||
|
||
IMAGE FILE: | ||
![Switch in CPP](../../static/img/day-09/recursion.png) | ||
|
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 10", | ||
"position": 11, | ||
"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,20 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: "Multi-Dimensional Array in C++" | ||
description: "In this tutorial, we will learn about Multi-Dimensional Arrays in C++ programming with the help of examples. A multi-dimensional array is an array of arrays. In C++, we can create a two-dimensional array, three-dimensional array, and so on." | ||
sidebar_label: "Multi-Dimensional Array" | ||
slug: multi-dimensional-array-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a Multi-Dimensional Array in C++? | ||
2. Explain the Syntax of a Multi-Dimensional Array in C++. | ||
3. How to Declare and Define a Multi-Dimensional Array in C++? | ||
4. C++ Multi-Dimensional Array Example | ||
|
||
Add More... | ||
|
||
IMAGE FILE: | ||
![Multidimentional-array](../../static/img/day-10/multidimentional-array.png) | ||
|
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,22 @@ | ||
--- | ||
sidebar_position: 3 | ||
title: "All About String Class" | ||
description: "In this tutorial, we will learn about the String Class in C++ programming with the help of examples. A string is a sequence of characters that is used to represent text. In C++, strings are represented using the `std::string` class. The `std::string` class provides various member functions to manipulate strings." | ||
sidebar_label: "String Class" | ||
slug: string-class-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a String Class in C++? | ||
2. Explain the Syntax of a String Class in C++. | ||
3. How to Declare and Define a String Class in C++? | ||
4. C++ String Class Example | ||
5. How to Input and Output a String Class in C++? | ||
6. How to Concatenate String Classes in C++? | ||
|
||
Add more... | ||
|
||
|
||
IMAGE FILE: | ||
![Function in CPP](../../static/img/day-10/string-class.png) |
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,33 @@ | ||
--- | ||
sidebar_position: 2 | ||
title: "String in C++" | ||
description: "In this tutorial, we will learn about Strings in C++ programming with the help of examples. A string is a sequence of characters that is used to represent text. In C++, strings are represented using the `std::string` class. The `std::string` class provides various member functions to manipulate strings." | ||
sidebar_label: "String" | ||
slug: string-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a String in C++? | ||
2. Explain the Syntax of a String in C++. | ||
3. How to Declare and Define a String in C++? | ||
4. C++ String Example | ||
5. How to Input and Output a String in C++? | ||
6. How to Concatenate Strings in C++? | ||
7. How to Compare Strings in C++? | ||
8. How to Find the Length of a String in C++? | ||
9. How to Access Characters in a String in C++? | ||
10. How to Modify a String in C++? | ||
11. How to Convert a String to Uppercase and Lowercase in C++? | ||
12. How to Convert a String to Integer in C++? | ||
13. How to Convert an Integer to String in C++? | ||
14. How to Convert a String to Character Array in C++? | ||
15. How to Convert a Character Array to String in C++? | ||
16. How to Convert a String to C-Style String in C++? | ||
17. How to Convert a C-Style String to String in C++? | ||
18. How to Split a String in C++? | ||
|
||
Add more... | ||
|
||
IMAGE FILE: | ||
![String in CPP](../../static/img/day-10/string-in-cpp.png) |
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 11", | ||
"position": 12, | ||
"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,21 @@ | ||
--- | ||
sidebar_position: 2 | ||
title: "Pointers in Array in C++" | ||
description: "In this tutorial, we will learn about Pointers in Array in C++ programming with the help of examples. A pointer is a variable that stores the memory address of another variable. Pointers are used to store the address of variables, arrays, and functions in C++." | ||
sidebar_label: "Pointers in Array" | ||
slug: pointers-in-array-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a Pointer in C++? | ||
2. Explain the Syntax of a Pointer in C++. | ||
3. How to Declare and Define a Pointer in C++? | ||
4. How to Access the Value of a Pointer in C++? | ||
5. How to Access the Address of a Pointer in C++? | ||
6. How to Declare and Define a Pointer to a Pointer in C++? | ||
|
||
Add more... | ||
|
||
IMAGE FILE: | ||
![Function in CPP](../../static/img/day-11/array-with-pointers.png) |
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,25 @@ | ||
--- | ||
sidebar_position: 1 | ||
title: "Pointers in C++" | ||
description: "In this tutorial, we will learn about Pointers in C++ programming with the help of examples. A pointer is a variable that stores the memory address of another variable. Pointers are used to store the address of variables, arrays, and functions in C++." | ||
sidebar_label: "Pointers" | ||
slug: pointers-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a Pointer in C++? | ||
2. Explain the Syntax of a Pointer in C++. | ||
3. How to Declare and Define a Pointer in C++? | ||
4. How to Access the Value of a Pointer in C++? | ||
5. How to Access the Address of a Pointer in C++? | ||
6. How to Declare and Define a Pointer to a Pointer in C++? | ||
7. How to Declare and Define a Pointer to an Array in C++? | ||
8. How to Declare and Define a Pointer to a Function in C++? | ||
9. How to Pass a Pointer to a Function in C++? | ||
10. How to Return a Pointer from a Function in C++? | ||
|
||
Add More... | ||
|
||
IMAGE FILE: | ||
![Multidimentional-array](../../static/img/day-11/pointers.png) |
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,21 @@ | ||
--- | ||
sidebar_position: 3 | ||
title: "Reference in C++" | ||
description: "In this tutorial, we will learn about Reference in C++ programming with the help of examples. A reference is an alias for a variable. It is a way to access the value of a variable using a different name. A reference is similar to a pointer, but it is simpler to use and safer than a pointer." | ||
sidebar_label: "Reference" | ||
slug: reference-in-cpp | ||
--- | ||
|
||
TASK: | ||
|
||
1. What is a Reference in C++? | ||
2. Explain the Syntax of a Reference in C++. | ||
3. How to Declare and Define a Reference in C++? | ||
4. C++ Reference Example | ||
5. How to Pass a Reference to a Function in C++? | ||
6. How to Return a Reference from a Function in C++? | ||
|
||
Add more... | ||
|
||
IMAGE FILE: | ||
![String in CPP](../../static/img/day-11/reference-in-cpp.png) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.