Skip to main content

Recently Updated Pages

5. File Input/Output

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

5.1 Why File I/O? So far, all our programs lose their data when they terminate. File I/O allows p...

Updated 1 week ago by DS

4. Type Definitions (typedef)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

4.1 What is typedef? typedef creates aliases (alternative names) for existing data types. It make...

Updated 1 week ago by DS

3. Enumerations (enum)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

3.1 What is an Enumeration? An enumeration is a user-defined data type consisting of a set of nam...

Updated 1 week ago by DS

2. Structures (struct)

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

2.1 What is a Structure? A structure is a user-defined data type that groups variables of differe...

Updated 1 week ago by DS

1. Introduction to User-Defined Data Types

Alprog - Elektro KKI Module 5 : Data Types (Struct, Enum, Ty...

1.1 Why User-Defined Types? In previous modules, we learned about basic data types like int, floa...

Updated 1 week ago by DS

When & Which

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

When & Which? Comparison Feature for Loop while Loop for-generate Statement Execution Sequ...

Updated 1 week ago by JD

For-Generate Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

The Concurrent 'for-generate' Loop We now switch from sequential loops to a concurrent one. The f...

Updated 1 week ago by JD

Loop Control - Next & Exit

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

Loop Control - Next & Exit The two control statements, next and exit, allow you to skip an iterat...

Updated 1 week ago by JD

While Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

While Loop The while loop is used where the number of repetitions is not known from the start. A ...

Updated 1 week ago by JD

For Loop

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

For Loop The for loop is the most common type of sequential loop in VHDL. It is used to repeat a ...

Updated 1 week ago by JD

Introduction to Looping Constructs

Digital Sistem Design (PSD/DSG) Module 6 - Looping Construct

Introduction to Looping Constructs Looping constructs are VHDL instructions that allow a program ...

Updated 1 week ago by JD

7.3 Web Communication with HTTP/HTTPS

Internet of Things Module 7 - MQTT, HTTP, WIFI

HTTP HTTP (Hypertext Transfer Protocol) is the foundation of data communication on the World Wide...

Updated 1 week ago by NS

9. Practical Examples with Dynamic Memory

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

9.1 Dynamic Array with User Input #include <stdio.h> #include <stdlib.h> int main() { int n,...

Updated 1 week ago by DS

8. Common Pointer Pitfalls and Best Practices

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

8.1 Uninitialized Pointers WRONG: int *ptr; // Uninitialized - contains garbage address *ptr...

Updated 1 week ago by DS

7. Dynamic Memory Allocation & Array

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

7.1 Introduction to Dynamic Memory Up until now, we've used static memory allocation where array ...

Updated 1 week ago by DS

6. Pointers and Strings

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

In C, strings are arrays of characters, so pointers work naturally with strings. 6.1 String Repre...

Updated 1 week ago by DS

5. Pointers and Functions

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

Pointers are essential for functions to modify variables from the calling code and to work effici...

Updated 1 week ago by DS

4. Pointers and Arrays

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

Arrays and pointers have a very close relationship in C. In many contexts, an array name acts as ...

Updated 1 week ago by DS

3. Pointer Arithmetics

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

3. Pointer Arithmetic Pointers can be incremented, decremented, and compared. When you perform ar...

Updated 1 week ago by DS

2. Pointer Basics

Alprog - Elektro KKI Module 4 : Pointers & Dynamic Array

2.1 Declaring Pointers Syntax: data_type *pointer_name; Examples: int *ptr; // Pointer to...

Updated 1 week ago by DS