[one set of questions per day · brush the questions together] · Chapter 4

Hello, everyone. I'm safe and sound. Each Preface Blog home page: Safe and sound Author certification: 2021 blog star Top2 Our slogan: 🌹 Little bit, big dream 🌹 Author's request: due to the limited level of bloggers, it is inevitable that there will be mistakes and inaccuracies. I am also very eager to ...

Posted by insane on Mon, 28 Mar 2022 03:50:45 +0300

Fun c language - Snake

catalogue ​ 1. Game introduction and ideas 1.1 INTRODUCTION: 1.2 game area ideas 1.2.1 enclosure 1.2.2 game area 1.2.3 snake head and body 1.3 game logic 2. Officially realize snake eating 2.1 before we start, we first include the header file and macro definition 2.2 create game area and initialize 2.3 initialize snake head an ...

Posted by konqest on Sun, 27 Mar 2022 06:34:36 +0300

Implementation logic of serial and parallel approval

1. What are serial approval and parallel approval in this paper Serial approval is like a series circuit. Each resistor is like a message that the approver wants to approve. If one of the approvers rejects the approval, the whole process ends. The first node needs to be filled in by the applicant, and the subsequent nodes need to be approved ...

Posted by [-razer-]Blade on Sat, 26 Mar 2022 18:07:58 +0300

[linux kernel] mdev details

1, mdev overview Mdev is a tool provided by busybox. In embedded systems, it is equivalent to a simplified version of udev. Its function is to automatically create device nodes when the system starts, hot plugs and dynamically loads drivers. The device nodes in the / dev directory of the file system are created by mdev. In the process of l ...

Posted by shrimp on Sat, 26 Mar 2022 15:52:59 +0300

Understand typedef in C language

(translation, with deletion and modification) 1. Definition and scope of typedef typedef allows us to create aliases for existing types or user-defined types. The format is: typedef <existing_names_of_datatype> <alias__userGiven_name>; Example: typedef int myint; myint is an alias for int. From this point on, we can use ...

Posted by powerpants on Sat, 26 Mar 2022 12:07:20 +0300

On the beginner of function [1] formal parameters and arguments

//memset function strcpy() function //memset - memory (translated into memory in computer) set value means value. Block of memory fill block of memory no characters can be inserted in the memset() function //When any character is stored in memory, what it actually stores is its ascii code value, which is still stored as a parameter in the form ...

Posted by ckuipers on Sat, 26 Mar 2022 10:40:51 +0300

[open center simulation] - use C simulation to realize memcpy and memmove functions

catalogue 1, Introduction of memcpy function 1. Function declaration 2. Function and precautions 3. Use of functions Two, analog implementation of memcpy function 1. Simulation analysis 2. Simulation Implementation 3, Introduction of memmove function 1. Function declaration 2. Why is there a memmove function 3. Function and precautio ...

Posted by jaiswal on Sat, 26 Mar 2022 03:06:14 +0300