The 18th day of computer learning

The 18th day of computer learning Compiler: Microsoft Visual Studio 2019 Custom type: structural morphologyenumerationConsortium structural morphology Declaration of structure type Basic knowledge of structure A structure is a collection of values called member variables Statement of structure UTF-8...

Posted by ranjita on Sun, 16 May 2021 07:29:37 +0930

C language branch statement and loop statement

Branch and loop statements This article focuses on the use of branch statements and loop statements Branching statement if switch Loop statement while for do while goto Statement Branch statement (select structure) if statement The basic syntax structure of if is shown below. if The grammaticaUTF-8...

Posted by TheNookie on Fri, 21 May 2021 02:24:24 +0930

Summary of Data Structure - Section 5

Fifth Job 5.1 Leaf Node Traversal (Tree-Foundation) [Problem Description] Enter a set of integers from the standard input, construct a binary lookup tree in which the left subnode value is less than the root node value and the right subnode value is greater than or equal to the root node valueUTF-8...

Posted by wwedude on Tue, 25 May 2021 01:59:51 +0930

STM32_ Temperature and humidity sensor

Temperature and humidity sensor The temperature and humidity sensor module used in this experiment is DHT11 Module parameters: The module can not measure the temperature below zero, but there is no problem in daily use. Inside the module is a function analog-to-digital converter chip (8 bits),UTF-8...

Posted by imperium2335 on Tue, 25 May 2021 02:35:13 +0930

Judging in C--The day of a month is the day of the year

C Judges that the year, month and day entered is the day of the year This question is mainly about train of thought, followed by solution.For example, when we look at the topic, we should think about some special cases: the month of the year has months and months, and the most special case is FUTF-8...

Posted by jburfield on Wed, 26 May 2021 08:25:36 +0930

Detailed explanation of strlen function in C standard library

The source code is as follows: #include #include #undef strlen #ifndef STRLEN # define STRLEN strlen #endif /* Return the length of the null-terminated string STR. Scan for the null terminator quickly by testing four bytes at a time. */ size_t STRLEN (const char *str) { coUTF-8...

Posted by mjgdunne on Fri, 28 May 2021 02:30:33 +0930

RPC simple to use, write remote calculator

1. Introduction to RPC RPC is the abbreviation of Remote Procedure Call, which can be used to call functions or procedures of remote machine on local machine. The calling process is as follows: 2. External data representation (XDR) 2.1 introduction XDR is the standard of data description and coUTF-8...

Posted by fansphp on Sat, 29 May 2021 06:05:35 +0930

[C + + deep analysis learning summary] 23

The so-called overload is to give new meaning. Function Overloading enables a function name to have multiple functions and perform different operations in different situations. Operator Overloading is another reason. The same operator can have different functions. In fact, we have unwittingly uUTF-8...

Posted by mattkenefick on Wed, 02 Jun 2021 07:25:55 +0930

c language learning day 2 constant string escape character operator identifier enumeration selection statement loop statement function array

const constant property #include int main() { //const constant property //The attribute of const constant. After adding const to the variable num, the const modified constant variable cannot be changed //The num here is still a variable, only with constant properties //The Chinese haveUTF-8...

Posted by Flyier on Thu, 03 Jun 2021 05:50:56 +0930

Do you know the knowledge of pointer? C language super hard core pointer advanced version 3w + word detailed explanation + pointer pen test drawing + text detailed explanation

Advance of pointer Basic knowledge of pointer primary level: 1. The pointer is the address, the address is the pointer, and the pointer exists in the variable, which is called pointer change 2. The size of the pointer is 4 (32-bit platform) / 8 bytes (64 bit platform) 3. The meaning of pointer UTF-8...

Posted by spires on Thu, 03 Jun 2021 07:34:16 +0930