The interviewer asked me to tear the code of freshman class? Isn't the offer easy?
This article involves knowledge points: the definition of structure, the use of vector, the use of iterator, the avoidance of wild iterator and the method of sorting. If you need to do a course design such as student management system, this article will be a very important foundation. On this basis, you can easily complete the design of student ...
Added by satan165 on Wed, 02 Feb 2022 23:25:42 +0200
Smart home system design (monitoring + control)
introduction
As a graduate majoring in electronics, we need to write both graduation thesis and graduation design. I'm very happy that my reply officially ended a few days ago. Now I'd like to summarize and share my graduation project. I hope students interested in this project can gain something. At the same time, if you have problems or ...
Added by kayess2004 on Wed, 02 Feb 2022 21:51:58 +0200
Addition, deletion and modification of c language single linked list
1. Basic structure of linked list
The linked list is connected by nodes. The node here is a structure, which is composed of data field and pointer field.
typedef int SListDateType
typedef struct SListNode
{
SListDataType data;//The data variable is used to store data
struct SListNode* next;//Next points to the next node;
}SListNode; ...
Added by idire on Wed, 02 Feb 2022 18:08:08 +0200
C language notes: 2 Branch and loop statements
2. Branch and loop statements
preface
Tip: C language notes are used as a summary of their own learning and convenient access to forgotten knowledge in the future. We will also check and make up for deficiencies in the future.
What is a statement?
In C language, a semicolon (;) Separated is a statement.
1. Branch statement
1.1 br ...
Added by TFD3 on Wed, 02 Feb 2022 16:25:59 +0200
Detailed explanation of C + + function overloading
Detailed explanation of C + + function overloading
In actual development, sometimes we need to implement several functions with similar functions, but some details are different. For example, we want to exchange the values of two variables. These two variables have many types, such as int, float, char, bool, etc. we need to pass the address of ...
Added by Marsha on Wed, 02 Feb 2022 13:19:03 +0200
First knowledge of C language 1 -- a brief introduction to C language
Don't gossip. Start with a mind map.
As shown in the figure, it is still the first part of getting to know C language. This time only introduces the characteristics of C language, such as data type, constant variable, string escape, character annotation, selection loop statement, function and array.
Next, please join me in a r ...
Added by gortron on Wed, 02 Feb 2022 09:54:17 +0200
Detailed explanation of "two-dimensional array" in the review of upgraded computer science (first draft)
With the foundation of one-dimensional array, let's learn two-dimensional array!!
One dimensional array connection: Detailed explanation of "one-dimensional array" in the review of upgraded computer science (first draft) aquan's blog - CSDN blog
First, the general form of two-dimensional array is
int a[length1][length2]; Array ...
Added by tvance929 on Wed, 02 Feb 2022 09:31:57 +0200
Hateful programming question 21 / 6 / 6
7-1 word statistics (100 points)
A given string contains only # and lowercase letters, where # is a separator, and consecutive lowercase letters form a word. There is no # sign inside a word, and there is no # between two words. Please write a program to count the number and # of words in a string.
Input format:
The first line is an integer ...
Added by damisi on Wed, 02 Feb 2022 07:33:50 +0200
Detailed explanation of expression (csp-j 2021 expr)
First move the topic from the valley of Los Angeles
Title Description
Little C is keen on learning mathematical logic. One day, he found a special logical expression. In this logical expression, all operands are variables, and their values can only be , 0 , or , 1. The operation is carried out from left to right. If there are parentheses i ...
Added by mpb001 on Wed, 02 Feb 2022 06:04:53 +0200
OPENMV configuration record
I just came home with an H7 board. I thought about configuring the openmv part first and then developing the whole H7. This board supports the brush writing of openmv. The firmware brush writing provides the way of internal flash and external flash, which is very convenient.
The board is as follows. It belongs to the weact family. You ...
Added by kef on Wed, 02 Feb 2022 00:58:51 +0200