Skip to content

Commit

Permalink
Content Outline Update Till Day 07
Browse files Browse the repository at this point in the history
  • Loading branch information
subhadipbhowmik committed May 29, 2024
1 parent cea2288 commit 4455f7e
Show file tree
Hide file tree
Showing 27 changed files with 159 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,13 @@ Happy coding!
![Line](https://user-images.githubusercontent.com/85225156/171937799-8fc9e255-9889-4642-9c92-6df85fb86e82.gif)
## Thanks to Our Contributors 🌟
<a href = "https://github.com/subhadipbhowmik/30-Days-Of-CPP/graphs/contributors">
<img src = "https://contrib.rocks/image?repo=subhadipbhowmik/30-Days-Of-CPP"/>
</a>
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
5 changes: 4 additions & 1 deletion docs/day-04/constants-in-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,7 @@ TASK:
4. How to Use Constants in C++?
5. What are the Advantages of Constants in C++?
6. Best Practices for Using Constants in C++.
7. Examples of Constants in C++.
7. Examples of Constants in C++.

IMAGE FILE:
![Constants in CPP](../../static/img/day-04/constants-in-cpp.png)
3 changes: 3 additions & 0 deletions docs/day-04/input-output-in-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ TASK:
3. How to take input from the user in C++?
4. How to display output to the user in C++?
5. Take Multiple Inputs from the User in C++.

IMAGE FILE:
![Input Output in CPP](../../static/img/day-04/input-output-in-cpp.png)
3 changes: 3 additions & 0 deletions docs/day-04/operators-in-cpp.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,6 @@ TASK:
1. What is Operators in C++?
2. Types of Operators in C++.
3. Explain All the Operators in C++ with Proper Examples.

IMAGE FILE:
![Operator in CPP](../../static/img/day-04/operator-in-cpp.png)
3 changes: 3 additions & 0 deletions docs/day-05/do-while-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ TASK:
5. C++ do...while Loop
6. Flowchart of do...while Loop
7. Example 2: Display Numbers from 1 to 5

IMAGE FILE:
![Do While Loop](../../static/img/day-05/while-do-while-loop-in-cpp.png)
3 changes: 3 additions & 0 deletions docs/day-05/for-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,6 @@ TASK:
3. C++ for Loop Example
4. C++ Infinite for Loop
5. C++ Nested for Loop

IMAGE FILE:
![For Loop](../../static/img/day-05/for-loop-in-cpp.png)
5 changes: 4 additions & 1 deletion docs/day-05/if-else-statement.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,7 @@ TASK:
5. C++ if-else Statement
6. C++ Nested if-else Statement
7. C++ if-else-if Ladder
8. C++ Ternary Operator
8. C++ Ternary Operator

IMAGE FILE:
![if else in cpp](../../static/img/day-05/if-else-statement.png)
7 changes: 7 additions & 0 deletions docs/day-06/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 06",
"position": 7,
"link": {
"type": "generated-index"
}
}
17 changes: 17 additions & 0 deletions docs/day-06/break-statement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
sidebar_position: 1
title: "Break Statement in C++"
description: "In this tutorial, we will learn about the break statement in C++ programming with the help of examples. The break statement is used to terminate the loop or switch statement."
sidebar_label: "Break Statement"
slug: break-statement-in-cpp
---

TASK:

1. What is the Break Statement in C++?
2. Explain the Syntax of Break Statement in C++.
3. C++ Break Statement Example
4. C++ Break Statement in Nested Loop

IMAGE FILE:
![Break Statement](../../static/img/day-06/break-statement.png)
17 changes: 17 additions & 0 deletions docs/day-06/continue-statement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
sidebar_position: 2
title: "Continue Statement in C++"
description: "In this tutorial, we will learn about the continue statement in C++ programming with the help of examples. The continue statement is used to skip the current iteration of the loop and continue with the next iteration."
sidebar_label: "Continue Statement"
slug: continue-statement-in-cpp
---

TASK:

1. What is the Continue Statement in C++?
2. Working of C++ continue Statement
3. Example of Continue Statement in C++ with different loops


IMAGE FILE:
![Continue Statement](../../static/img/day-06/continue-statement.png)
19 changes: 19 additions & 0 deletions docs/day-06/goto-statement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
sidebar_position: 3
title: "Go To Statement in C++"
description: "In this tutorial, we will learn about the goto statement in C++ programming with the help of examples. The goto statement is used to transfer control to the other part of the program."
sidebar_label: "Go To Statement"
slug: goto-statement-in-cpp
---

TASK:

1. What is the Go To Statement in C++?
2. Explain the Syntax of Go To Statement in C++.
3. C++ Go To Statement Example
4. Why is the Go To Statement Considered Harmful?
5. When to Use Go To Statement in C++?


IMAGE FILE:
![GOTO Statement](../../static/img/day-06/goto-statement.png)
7 changes: 7 additions & 0 deletions docs/day-07/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"label": "Day 07",
"position": 8,
"link": {
"type": "generated-index"
}
}
26 changes: 26 additions & 0 deletions docs/day-07/function-in-cpp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
sidebar_position: 3
title: "Function in C++"
description: "In this tutorial, we will learn about functions in C++ programming with the help of examples. A function is a block of code that performs a specific task. It is used to break the code into smaller modules that can be reused."
sidebar_label: "Function"
slug: function-in-cpp
---

TASK:

1. What is a Function in C++?
2. Explain the Syntax of Function in C++.
3. Types of Functions in C++
4. How to Declare and Define a Function in C++?
5. How to Call a Function in C++?
6. C++ Function Example
7. C++ Function with Parameters
8. C++ Function with Return Value
9. C++ Function with Default Arguments
10. C++ Function with Function Overloading
11. C++ Function with Recursion
12. C++ Function with Inline Function


IMAGE FILE:
![Function in CPP](../../static/img/day-07/function-in-cpp.png)
19 changes: 19 additions & 0 deletions docs/day-07/switch-case-statement.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
sidebar_position: 1
title: "Switch Case Statement in C++"
description: "In this tutorial, we will learn about the switch case statement in C++ programming with the help of examples. The switch case statement is used to execute one statement from multiple conditions."
sidebar_label: "Switch Case Statement"
slug: switch-case-statement-in-cpp
---

TASK:

1. What is the Switch Case Statement in C++?
2. Explain the Syntax of Switch Case Statement in C++.
3. How does the Switch Case Statement work in C++?
4. C++ Switch Case Statement Example
5. C++ Switch Case Statement with Break

IMAGE FILE:
![Switch in CPP](../../static/img/day-07/switch-case.png)

20 changes: 20 additions & 0 deletions docs/day-07/ternary-operator.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
sidebar_position: 2
title: "Ternary Operator in C++"
description: "In this tutorial, we will learn about the ternary operator in C++ programming with the help of examples. The ternary operator is a conditional operator that returns a value based on the condition."
sidebar_label: "Ternary Operator"
slug: ternary-operator-in-cpp
---

TASK:

1. What is the Ternary Operator in C++?
2. Explain the Syntax of Ternary Operator in C++.
3. How does the Ternary Operator work in C++?
4. C++ Ternary Operator Example
5. C++ Ternary Operator with Nested Ternary Operator


IMAGE FILE:
![Ternary in CPP](../../static/img/day-07/ternary-operator.png)

Binary file added static/img/day-04/constants-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.
Binary file added static/img/day-04/input-output-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.
Binary file added static/img/day-04/operator-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.
Binary file added static/img/day-05/for-loop-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.
Binary file added static/img/day-05/if-else-statement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/day-05/while-do-while-loop-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.
Binary file added static/img/day-06/break-statement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/day-06/continue-statement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/day-06/goto-statement.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/day-07/function-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.
Binary file added static/img/day-07/switch-case.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added static/img/day-07/ternary-operator.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4455f7e

Please sign in to comment.