Skip to content

Commit dbf5cda

Browse files
committed
docs: add Jekyll front matter and sequential dates to notes
- Adds standard YAML front matter to all Markdown files. - Includes layout, title, sequential date (starting 2025-03-14), category, tags, description, author, and image. - This prepares the notes for processing by the Jekyll site.
1 parent 2cf549b commit dbf5cda

27 files changed

+323
-27
lines changed

01. How C++ Works.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "How C++ Works"
4+
date: 2025-03-14
5+
categories: ["C++"]
6+
tags: ["Compilation", "Linking", "Build Process", "Preprocessing"]
7+
description: "An overview of the C++ build process, covering preprocessing, compilation into object code, and linking to create an executable."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# How C++ Works - [▶️YouTube](https://www.youtube.com/watch?v=SfGuIVzE_Os&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=6)
213
## A Deep Dive into C++ Compilation and Linking
314
### Preprocessing: The Foundation
@@ -57,4 +68,3 @@ int main() {
5768
Log("Hello World!!");
5869
std::cin.get();
5970
}
60-
```

02. How the C++ Compiler Works.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "How the C++ Compiler Works"
4+
date: 2025-03-15
5+
categories: ["C++"]
6+
tags: ["Compiler", "Preprocessing", "Assembly", "Optimization", "Visual Studio", "Build Process"]
7+
description: "A breakdown of the C++ compiler's stages, focusing on preprocessing directives, generating assembly, optimization, and handling compiler options/errors in Visual Studio."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# How C++ Compiler Works - [▶️YouTube](https://www.youtube.com/watch?v=3tIqpEmWMLI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=6)
213

314
**Preprocessing**

03.How the C++ Linker Works.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "How the C++ Linker Works"
4+
date: 2025-03-16
5+
categories: ["C++"]
6+
tags: ["Linker", "Linking", "Build Process", "Object Files", "Symbols", "LNK2019", "LNK1169"]
7+
description: "Explains the role of the C++ linker in combining object files, resolving symbols, and common errors like LNK2019 (unresolved external) and LNK1169 (multiple definitions)."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# How the C++ Linker Works - [▶️YouTube](https://www.youtube.com/watch?v=H4s55GgAg0I)
213

314
---
@@ -167,4 +178,4 @@ Every `.exe` **must** have an entry point (default: `main()`).
167178
- **`LNK1169`**: Duplicate definitions.
168179
- **Headers**: Declarations only (use `inline`/`static` if definitions are needed).
169180
170-
[▶️ Full Video Reference](https://www.youtube.com/watch?v=H4s55GgAg0I)
181+
[▶️ Full Video Reference](https://www.youtube.com/watch?v=H4s55GgAg0I)

04.Variables in C++.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Variables in C++"
4+
date: 2025-03-17
5+
categories: ["C++"]
6+
tags: ["Variables", "Data Types", "int", "float", "double", "char", "bool", "Memory"]
7+
description: "An explanation of variables in C++, covering basic data types (int, float, double, char, bool), their sizes in memory, and usage examples."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
## Variables in Programming
213

314
In programming, a variable is a named storage location in memory that holds a particular type of data. Variables are stored either in the memory stack or heap, and different variable types differ mainly in the size of memory they occupy.
@@ -53,4 +64,4 @@ sizeof(bool); // Shows the size of the boolean type, which is 1 byte
5364

5465
### Pointers and References
5566

56-
In addition to basic data types, C++ supports pointers and references, which are used to store memory addresses and provide indirect access to other variables.
67+
In addition to basic data types, C++ supports pointers and references, which are used to store memory addresses and provide indirect access to other variables.

05.Functions in C++.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Functions in C++"
4+
date: 2025-03-18
5+
categories: ["C++"]
6+
tags: ["Functions", "Parameters", "Return Values", "Code Reusability", "Call Stack", "Inline Functions"]
7+
description: "Explains C++ functions, including syntax, parameters, return values, avoiding code duplication, call overhead, and best practices."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# Functions in C++ - [▶️YouTube](https://www.youtube.com/watch?v=V9zuox47zr0&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=9)
213

314
---
@@ -154,4 +165,4 @@
154165
- **Return Values**: Mandatory for non-`void` functions (except `main()`).
155166
- **Performance**: Balance function use to avoid unnecessary overhead.
156167
157-
[▶️ Full Video Reference](https://www.youtube.com/watch?v=V9zuox47zr0)
168+
[▶️ Full Video Reference](https://www.youtube.com/watch?v=V9zuox47zr0)

06.Header Files in C++ .md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Header Files in C++"
4+
date: 2025-03-19
5+
categories: ["C++"]
6+
tags: ["Header Files", "Declarations", "Definitions", "Include Guards", "#pragma once", "#include", "Build Process", "Linking"]
7+
description: "Explains the purpose and use of header files in C++ for declarations, include guards (#pragma once), include directives, and avoiding common errors like circular dependencies."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# C++ Header Files - [▶️ Full Playlist](https://www.youtube.com/watch?v=9RJTQmK0YPI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
213

314
---
@@ -159,4 +170,4 @@ Headers declare **WHAT** exists → Sources define **HOW** it works
159170

160171
---
161172

162-
[▶️ Full Video Reference](https://www.youtube.com/watch?v=9RJTQmK0YPI)
173+
[▶️ Full Video Reference](https://www.youtube.com/watch?v=9RJTQmK0YPI)

07.How to DEBUG C++ in VISUAL STUDIO.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Debugging C++ in Visual Studio"
4+
date: 2025-03-20
5+
categories: ["C++"]
6+
tags: ["Debugging", "Visual Studio", "Breakpoints", "Stepping", "Memory Inspection", "Watch Window"]
7+
description: "A guide to debugging C++ code in Visual Studio, covering breakpoints, stepping through code (F10, F11, Shift+F11), and using debugger windows like Autos, Locals, Watch, and Memory."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# Debugging C++ in Visual Studio - [▶️ Playlist](https://www.youtube.com/watch?v=0ebzPwixrJA&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
213

314
---
@@ -103,4 +114,4 @@
103114
**Key Principle**:
104115
The debugger lets you **freeze time** to inspect variables/memory. Combine breakpoints and stepping to isolate bugs efficiently. 🐞🔍
105116

106-
---
117+
---

08.CONDITIONS and BRANCHES in C++ .md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Conditions and Branches in C++"
4+
date: 2025-03-21
5+
categories: ["C++"]
6+
tags: ["Conditional Statements", "if", "else", "Branching", "Control Flow", "Boolean Logic"]
7+
description: "Explains conditional statements (if, else if, else) and branching in C++ for controlling program flow based on boolean logic and evaluations."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# C++ Conditions and Branches (if statements)
213
**Playlist Link:** [The Cherno - C++ Series](https://www.youtube.com/watch?v=9RJTQmK0YPI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
314

@@ -102,4 +113,4 @@ if (condition1) {
102113
---
103114
104115
**Video Link for Reference:** [Conditions and Branches in C++](https://www.youtube.com/watch?v=qEgCT87KOfc)
105-
**Full Playlist:** [C++ Series by The Cherno](https://www.youtube.com/watch?v=9RJTQmK0YPI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
116+
**Full Playlist:** [C++ Series by The Cherno](https://www.youtube.com/watch?v=9RJTQmK0YPI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)

09.Loops in C++.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Loops in C++"
4+
date: 2025-03-22
5+
categories: ["C++"]
6+
tags: ["Loops", "for", "while", "do-while", "Iteration", "Control Flow"]
7+
description: "Covers the different types of loops in C++ (for, while, do-while), their syntax, usage, and key differences for controlling repetitive execution."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# 🔄 Loops in C++ (for, while, do-while) - Complete Notes
213
**Video Reference:** [Loops in C++ by The Cherno](https://www.youtube.com/watch?v=_1AwR-un4Hk) | [Full Playlist](https://www.youtube.com/watch?v=9RJTQmK0YPI&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
314

@@ -118,4 +129,4 @@ do {
118129

119130
---
120131

121-
**Need More Context?** Jump to the [full video](https://www.youtube.com/watch?v=_1AwR-un4Hk) for visual explanations. 🎥
132+
**Need More Context?** Jump to the [full video](https://www.youtube.com/watch?v=_1AwR-un4Hk) for visual explanations. 🎥

10.Control Flow in C++.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
---
2+
layout: "post"
3+
title: "Control Flow in C++"
4+
date: 2025-03-23
5+
categories: ["C++"]
6+
tags: ["Control Flow", "continue", "break", "return", "Loops", "Functions"]
7+
description: "Explains C++ control flow statements: continue (skip loop iteration), break (exit loop/switch), and return (exit function)."
8+
author: "Vaibhav Deokar"
9+
image: "/notes/cpp/img-data/cpp_thumbnail.jpg"
10+
published: true
11+
---
112
# Control Flow in C++ (continue, break, return)
213
**Video Reference:** [Control Flow in C++ by The Cherno](https://www.youtube.com/watch?v=a3IZ8WaIFAA)
314
**Full Playlist:** [C++ Programming Tutorials](https://www.youtube.com/watch?v=a3IZ8WaIFAA&list=PLlrATfBNZ98dudnM48yfGUldqGD0S4FFb&index=10)
@@ -101,4 +112,4 @@ Hello World (i=3)
101112
Revisit specific sections:
102113
- `continue` Example: [00:03:20](https://youtu.be/a3IZ8WaIFAA?t=200)
103114
- `break` Debugging: [00:04:28](https://youtu.be/a3IZ8WaIFAA?t=268)
104-
- `return` in Practice: [00:06:18](https://youtu.be/a3IZ8WaIFAA?t=378)
115+
- `return` in Practice: [00:06:18](https://youtu.be/a3IZ8WaIFAA?t=378)

0 commit comments

Comments
 (0)