[C language] common debugging skills - entering the code
What is a bug?What is debugging? How important is debugging capability?A brief introduction to debug and releaseIntroduction to debugging under windows EnvironmentSome examples of debuggingHow to write code that is easy to debug?Common errors in C programmingSimulate the implementation of strcpy and strlen library functions
Test environment: vs ...
Added by Cleibe on Wed, 19 Jan 2022 20:27:45 +0200
Day11 Java polymorphism and abstraction
Polymorphism: the different states of something at different times. For example, water is liquid, solid and gaseous.
Prerequisites for polymorphism:
1. There should be inheritance
2. There should be rewriting of methods. It doesn't make much sense without rewriting.
3. The reference of the parent class should point to the object of the chil ...
Added by robb73 on Wed, 19 Jan 2022 18:34:53 +0200
Get Amazon comments based on Python
Last time, we got the product information of Amazon. Naturally, we need to take a look at the comments. Users' comments can intuitively reflect whether the current commodity value is worth buying, and Amazon's scoring information can also obtain the weight of scoring.
Amazon's comment area is composed of user ID, score and comment title, reg ...
Added by drewbee on Wed, 19 Jan 2022 17:03:38 +0200
Experiment 2 Python program flow control
Experiment 2: Python program flow control
The use of program flow control plays a very important role in Python. In this article, I will arrange experimental exercises for Python program flow control. I hope you can gain something after reading this article. Welcome to leave a message at the bottom of the article to communicate and learn to ...
Added by gloeilamp on Wed, 19 Jan 2022 15:59:45 +0200
Winter vacation week summary
Main tasks of the week:
1.python learning
2. Winter vacation algorithm training
3. Database related content
1. I just finished learning the basics of python in one week
The following is a case of student management system:
Design module flow chart:
The following is the complete code:
import os
file ...
Added by jmgrhm on Wed, 19 Jan 2022 14:03:31 +0200
MongoDB partitioned cluster
One sentence a dayMedalist don't grow on trees, you have to nurture them with love, with hard work, with dedication. Gold medal players will not fall from the sky. You must water them with love, hard work and investment.summarySharding is a method to distribute data across multiple machines. MongoDB uses sharding to support deployment with ver ...
Added by ofirf96 on Wed, 19 Jan 2022 13:01:48 +0200
Spring security - integrate JWT to use Token authentication and authorization in Webflux environment
1, SpringSecurity - WebFlux
In the previous article, we explained the dynamic role permission control of spring security in WebFlux environment. In this article, we will explain how spring security integrates JWT and uses Token authentication and authorization in WebFlux environment.
Last article address: https://blog.csdn.net/qq_43692950/ ...
Added by jameslynns on Wed, 19 Jan 2022 12:59:37 +0200
The best ThreadLocal posture for programmers
1, Common scenarios
1. ThreadLocal is a copy of thread context. One of the most common ways to use ThreadLocal is to implicitly pass parameters to different methods by providing two public methods: set() and get(). For programming specifications, the number of parameters is limited when defining methods. Even in some large factories, the numbe ...
Added by tommyda on Wed, 19 Jan 2022 08:56:15 +0200
1, Use of File class
catalogue
1, Concept
2, Create an instance of a class
(1) Common constructors
1. Constructor 1 (public File(String pathname))
2. Constructor 2 (public File(String parent,String child))
3. Constructor 3 (public File(File parent,String chile))
(2) Path
1. Relative path
2. Absolute path
3. Path separator
①. There are differ ...
Added by supratwinturbo on Wed, 19 Jan 2022 08:47:08 +0200
Less than 200 lines of code, I wrote a class roll call system in python
Hello, everyone. I saw such a short video on the subway today. I wonder if I can write a similar class roll call program. At the end of the year, of course, this program can also be used for lucky draw.
Now let's start practice! Like to remember to like, collect and pay attention.
Recommended articles
Finally, the Chinese version of Python ...
Added by dfego on Wed, 19 Jan 2022 07:51:21 +0200