Skip to content

Commit 853c66f

Browse files
committed
coding tutorials
1 parent ec5b62f commit 853c66f

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

docs/_sections/_guide-supplementals/coding-tutorials.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,33 @@ nav_order: 1
88

99
# Coding Tutorials
1010

11-
TBD
11+
## 1. Variables and Data Types
12+
13+
Variables are named storage locations in memory for holding data. Each variable has a specific **data type**, such as `int` for integers or `double` for floating-point numbers, which dictates the kind of information it can store and the operations that can be performed on it.
14+
15+
* **Tutorial:** **[geeksforgeeks: C++ Basics](https://www.geeksforgeeks.org/cpp/cpp-programming-basics/)**
16+
17+
## 2. Operators
18+
19+
Operators are symbols that specify a computation when applied to operands. C++ includes **arithmetic** (`+`, `-`, `*`, `/`), **relational** (`==`, `!=`, `<`, `>`), and **logical** (`&&`, `||`, `!`) operators, which are fundamental for performing calculations and forming logical expressions.
20+
21+
* **Tutorial:** **[GeeksforGeeks - C++ Operators](https://www.geeksforgeeks.org/operators-in-cpp/)**
22+
23+
## 3. Control Flow
24+
25+
Control flow statements direct the order in which program instructions are executed. **Conditional statements** like `if`, `else if`, and `else` allow the program to execute different blocks of code based on the evaluation of a specific logical condition.
26+
27+
* **Tutorial:** **[geeksforgeeks - if/else Statements](https://www.geeksforgeeks.org/cpp/c-c-if-else-statement-with-examples/)**
28+
29+
## 4. Loops
30+
31+
Loops facilitate the repeated execution of a block of code. **Iterative constructs** such as `for` and `while` loops are used to perform a task multiple times, either for a predetermined number of iterations or until a specific condition is met.
32+
33+
* **Tutorial:** **[w3schools - While Statements](https://www.w3schools.com/cpp/cpp_while_loop.asp)**
34+
* **Tutorial:** **[GeeksforGeeks - C++ `for` Loop](https://www.geeksforgeeks.org/cpp/cpp-for-loop/)**
35+
36+
## 5. Functions
37+
38+
A function is a self-contained block of code that performs a specific task. Functions promote **modularity** and **code reuse**, allowing for more organized, maintainable, and scalable software by encapsulating logic that can be called from multiple points in a program.
39+
40+
* **Tutorial:** **[learncpp.com - Introduction to Functions](https://www.learncpp.com/cpp-tutorial/introduction-to-functions/)**

0 commit comments

Comments
 (0)