Detailed introduction to enumeration super

What is an enumeration class There are only a limited number of objects in a class, which is uncertain For example: week, season, payment method Order status: Nonpayment, Paid, Delivered, Return, Checked, Fulfilled Employment status Thread status: BLOCKED the thread state of a thread is BLOCKED waiting for the monitor to lock Thread stat ...

Posted by bluedogatdingdong on Sat, 19 Feb 2022 01:52:53 +0100

(c + + growth record) - C + + cast operators (static_cast, reinterpret_cast, const_cast and dynamic_cast)

C + + cast operator appendix Encyclopedia of professional vocabulary C languageC++PointerCast type reference Statement: some of the contents of this article are directly from references and are subject to infringement and deletion. C + + cast operators (static_cast, reinterpret_cast, const_cast and dynamic_cast) summary In my daily ...

Posted by batfastad on Sat, 19 Feb 2022 01:50:39 +0100

What you see may be an illusion. Four configurations of DNS domain name resolution experiment Linux DNS domain name resolution service

I BIND domain name service foundation In daily life, people are used to using domain names to access servers, but machines only recognize IP addresses. There is a many-to-one relationship between domain names and IP addresses. An IP address does not necessarily correspond to only one domain name, and a complete domain name can only corres ...

Posted by senatedc on Sat, 19 Feb 2022 01:41:05 +0100

Detailed notes of C language array

array A collection of elements of the same type catalogue 1. Creation and initialization of one-dimensional array 2. Use of one-dimensional array 3. Storage of one-dimensional array in memory 4. Creation and initialization of two-dimensional array 5. Use of two-dimensional array 6. Storage of two-dimensional array in memory 7. Array as ...

Posted by caine on Sat, 19 Feb 2022 01:37:42 +0100

Force buckle -- design cycle queue (problem solution)

This problem needs to implement a circular queue, so before that, we need to know the concept and structure of queue Queue: a special linear table that can only be inserted at one end and deleted at the other end. It has the characteristics of first in first out, then in and then out Delete one end of the queue Enter the queue: the end of t ...

Posted by trygve on Sat, 19 Feb 2022 01:32:12 +0100

python: introduction to database connection operation

python: introduction to database connection operation Original location: python: introduction to database connection operation - JYRoy - blog Garden https://www.cnblogs.com/jyroy/p/9429897.html Module# 1 import pymssql,pyodbc Module description# pymssql and pyodbc modules are commonly used to connect and operate databases such as SQL Server ...

Posted by unknown on Sat, 19 Feb 2022 01:24:47 +0100

Deep understanding of state machine

catalogue 1. What is a state machine 2. State machine in life 3. Application in Engineering 4. Divergent thinking 1. What is a state machine ■ 1.1 directed graph A directed graph is a set of fixed points and edges. We often use G (E, V) to represent a directed graph, in which the fixed points are connected by directed edges to form a d ...

Posted by jamiethehill on Sat, 19 Feb 2022 01:22:33 +0100

Excel export in Java

The function of exporting Excel needs to be used in work. The traditional method is complex and difficult to modify. Here is an encapsulated tool class writing method. You only need to set the entity class, write the corresponding column name in the way of annotation, and then pass in the data set found from the database to export. Let's intro ...

Posted by 4evernomad on Sat, 19 Feb 2022 01:19:47 +0100

[LeetCode] fully understand the knapsack problem

0. Origin 0-1 knapsack: max min problem Concept: there are N items in total. The weight of item I (I starts from 1) is w[i], and the value is v[i]. When the total weight does not exceed the upper limit W of the backpack, what is the maximum value that can be loaded into the backpack? Idea: define a two-dimensional array dp to store the ...

Posted by juschillin on Sat, 19 Feb 2022 01:13:37 +0100

day10_this, package, import

this keyword What is this? This is understood as: the current object or the object currently being created. characteristic this # is a keyword in the Java language, which is stored inside the object in the heap memory of the Java virtual machinethis can be regarded as a variable. It is a reference. this reference saves the memory address of ...

Posted by itsinmyhead on Sat, 19 Feb 2022 01:04:31 +0100