catalogue
1 functions in C language
2 meaning of function
3 process oriented programming
4 declarations and definitions
1 functions in C language
Origin of function
Program = data + algorithm
C program = data + function
2 meaning of function
Modular programming
Modularization in C language
3 process oriented programming
Proc ...
Posted by BruceRowe on Thu, 12 May 2022 17:22:06 +0300
Question: how to expand the previous communication framework to support UDP communication and become a perfect network communication framework?UDP communication extensionOutline design of UDP communication entityEach UDP Point is peer-to-peer (because it is not necessary to initiate a connection actively), and can communicate through ip address ...
Posted by optik on Thu, 12 May 2022 13:51:43 +0300
IEEE 754 standard
Storage method: sign bit, exponent, mantissa
IEEE floating point arithmetic standard: IEEE 754
type
Sign bit
index
Mantissa
float
1
8
23
double
1
11
52
Take float as an example to discuss floating point numbers.
The memory representation of floating-point type is different from that of integer type, and the memory ...
Posted by maest on Tue, 10 May 2022 16:37:10 +0300
1. Background
In the development process, it is inevitable to maintain a set of data, and be able to add, delete, modify and check quickly. If the amount of data is large and needs to be persistent, choose the database. However, if the amount of data is relatively small, does not need persistence, and requires high response time, it is most ap ...
Posted by kolanos7 on Tue, 10 May 2022 14:03:36 +0300
preface
The last article introduced the structure of sds and how to use sds. In this chapter, we will go back to the place of reading io data to see how redis reads data from io and finally converts it into the process of executing commands. This article needs to be familiar with the previous two articles first. Students who haven't read ...
Posted by dustbuster on Tue, 10 May 2022 08:16:03 +0300
Xia Hao
momentum
Abstract: in operations research, it is complex to solve linear programming problems manually by using the classical simplex method, but it can be realized quickly by using the powerful computing power of computer. In this paper, the algorithm of classical simplex method is implemented with the help of traditional C language, ...
Posted by Lauram340 on Mon, 09 May 2022 12:54:23 +0300
A simple calculator
Title Requirements:
Simulate the operation of a simple arithmetic unit. Assuming that the calculator can only perform addition, subtraction, multiplication and division, and the operands and results are integers, the four operators have the same priority and are calculated from left to right.
Input format: Input gives a ...
Posted by Lessur on Mon, 09 May 2022 02:04:30 +0300
preface:
"C language introduction guide", the full text is divided into three parts, with a total of 34248 words. This is a collection version, which is suitable for beginners to get started with C language. Non beginners can also review the relevant knowledge points of C language through this article to strengthen their memory! Thir ...
Introduction to C language
C language is a process oriented and abstract general programming language, which is widely used in the bottom development. C language has the characteristics of high efficiency, flexibility, rich functions, strong expression and high portability. It is favored in program design. C language compiler generally exists ...
Posted by LightningSt on Sun, 08 May 2022 23:45:25 +0300
Clue binary tree
This paper refers to the data structure of Dahua
principle
For a binary list with n nodes, each node has a pointer field pointing to the left and right children, so there are 2n pointer fields in total. The binary tree with n nodes has a total of n-1 branches, that is, there are 2n-(n-1)=n+1 empty finger needle fields. ...
Posted by Satria Ox41464b on Sun, 08 May 2022 08:35:18 +0300