Chain List Implementation (C Language)

Catalog What is a list of chains: Nodes and Structures: Nodes and Chains: Head Node and Head Pointer: Multi-node chain table: What is a list of chains: Chain lists are an example of a chain storage structure where adjacent nodes are chained together. Corresponding to a chain storage structure is a sequential storage structure, which i ...

Added by Ozzmosis on Thu, 03 Feb 2022 20:29:15 +0200

c language implements a scientific calculator (dividing and rounding) with arithmetic practice functions

Catalog 1. calculate.h header file definition 2. Write main.c source file, choose calculator mode or arithmetic practice mode 3. In calculator. Writing related functions for scientific calculators in C source files 3.1 Create data and symbol stacks to store data and symbols in formulas 3.2 Initialize data stack and symbol stack header poin ...

Added by jonabomer on Thu, 03 Feb 2022 19:56:21 +0200

Data structure learning, hash table (chain address)

Dear friends, happy new year. Hash table is essentially an array, and chain address is the array that stores the linked list. The hash function is used to properly calculate a number to obtain the hash value of the number, and the hash table is searched, inserted and deleted according to the hash value. Suppose this is a hash table H with ...

Added by Spectre on Thu, 03 Feb 2022 13:00:43 +0200

The third day of C language review --- Tan Haoqiang Chapter 4 after class practice

Better examples of books 4.7 handle menu commands with switch. In many applications, a menu is used to control the process. For example, entering a 'a' or 'a' character from the keyboard will execute operation a, and entering a 'B' or 'B' character will execute operation B #include<stdio.h> #include<stdlib.h> int main() { void ac ...

Added by Linjon on Thu, 03 Feb 2022 10:50:29 +0200

Dynamic memory management

0. Preface Why is there dynamic memory allocation? int val = 20;//Open up four bytes in stack space char arr[10] = {0};//Open up 10 bytes of continuous space on the stack space Such static variables are hard to tune,Drought death,Waterlogging death The size of the space is fixed.When declaring an array, you must specify the len ...

Added by flyhoney on Thu, 03 Feb 2022 07:53:45 +0200

[final review] ⚡ Exam month is coming! C language review, this one takes you to escape from the hanging section! (end)

I'm back! Less than 4 hours after the last blog post was sent out, this blog post has started again. I hope it will be smooth and smooth. Run away from the hanging section! 😢 If you haven't seen the link in the previous section, you can jump~ C language review (Part I) Oh, this one will follow the last one~ If you need source files, you ca ...

Added by BlackenedSky on Thu, 03 Feb 2022 03:38:21 +0200

OpenMAX/IL: OMX IL learning notes [2] - Components

The key component of OpenMAX is the component. OpenMAX couples the modules in the meida flow process by abstracting them into components. Under the OpenMAX standard, the data flow is transmitted, processed and displayed through components. In this article, you do not need to understand the detailed internal implementation mechanism of the compo ...

Added by Tim L on Thu, 03 Feb 2022 03:31:50 +0200

Day 3: get to know keywords, constants and macros, pointers and structures

Today is the third day of relearning the C language. I think that the blog is not only used to share my daily learning results, but also can be written about my planning and thinking every day. On the third day, I went through the basic parts of the C language, which is a simple review. Next, I will start to learn from the point to point. I fee ...

Added by minidak03 on Thu, 03 Feb 2022 02:13:35 +0200

Introduction of memory functions such as memcpy and memmove in C language

Introduction of memory functions such as memcpy and memmove in C language Previously, we introduced some string operation functions Introduction of character operation function , strings in c language are treated as arrays, but those functions can only operate on strings. Are there any functions that can operate on other types of arrays? Toda ...

Added by bfuzze_98 on Thu, 03 Feb 2022 00:46:44 +0200

A stack for solving data structure (implemented in C language)

What is stack? Stack: a linear table that allows insertion or deletion operations only at one end (limited to the end of the table). Therefore, for the stack, there is a distinction between the top and bottom of the stack. The details are as follows: Therefore, when using stack storage, there is a law of first in and last out. When we sto ...

Added by phpfan on Wed, 02 Feb 2022 23:38:10 +0200