Java Basics - memory pointing 1
What is an object?
public class Cat {
public int age;
public String name;
public char sex;
public void run(int ag) {
this.age=ag;
}
public static void main(String[] args) {
Cat cat1=new Cat();
Cat cat2=new Cat();
Cat cat3=new Cat();
cat1.run(10);
cat2.run(11);
System.out.println(cat1.age);
System.out.println(cat2.ag ...
Posted by pvechi on Sat, 12 Feb 2022 03:47:41 +0100
Less than 200 lines of code, I wrote a class roll call system in python. Haven't you panicked yet?
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.
preparation
1,Tkinter
Tkinter is the built-in TK GUI tool ...
Posted by fesan on Sat, 12 Feb 2022 03:46:30 +0100
Android Development: realize sliding exit Fragment + Activity two in one
prefaceCan you add a sideslip return when the sideslip menu is not included, and finish the current Fragment?Today, we have completed this work and made it into a separate SwipeBackFragment library and fragment SwipeBack extension librarycharacteristic: 1. Swipebackfragment, swipebackactivity two in one: when the number of fragments in the Act ...
Posted by sean14592 on Sat, 12 Feb 2022 03:31:36 +0100
C + + realizes the friendly processing of Json data
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python actual combat quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475
background
C/C + + client needs to receive and send JSON format data to the back end to realize communication and data interaction. There is n ...
Posted by ionik on Sat, 12 Feb 2022 03:28:23 +0100
Network programming (realize the mutual communication of LAN and send and receive data)
linux network programming
1, Understanding of ip and ports
What is socket?
1). Socket is translated into socket, socket and row plug in English. (because there are many kinds of sockets, it seems that there are many protocols. These protocols must be consistent before communication can be carried out.) Network programming - > socket ...
Posted by dsdsdsdsd on Sat, 12 Feb 2022 03:23:08 +0100
Java implements password adding random salt for MD5 digest encryption (2021 / 05 / 11)
Java implements password adding random salt for MD5 digest encryption (2021 / 05 / 11)
1. General
In daily development, we often face the problem of saving the user password. We must not store the password in plaintext to the database. We can use hash digest algorithm to encrypt the password and then save it to the database.
Hash digest ...
Posted by Begby on Sat, 12 Feb 2022 03:13:08 +0100
Buffer mapping mechanism in WebGPU
Python wechat ordering applet course video
https://edu.csdn.net/course/detail/36074
Python actual combat quantitative transaction financial management system
https://edu.csdn.net/course/detail/35475
1. What is buffer mapping
It is not defined. To put it simply, a piece of video memory after Mapping can be accessed by the CPU.
After the Bu ...
Posted by unclebob on Sat, 12 Feb 2022 03:12:18 +0100
Markdown learning (entry level)
1, Introduction to Markdown
Is a lightweight markup language (it's super easy to write notes anyway) Strongly recommended by Typore (but it seems to charge)
2, Paragraphs and emphasis
*xax* //Italics
_xax_ //Italics
**yay** //Bold
__yay__ //Bold
~~Delete line~~ //Delete line
effect: xax xax
yay yay
Delete line
3, Title ...
Posted by bjdouros on Sat, 12 Feb 2022 03:04:55 +0100
Android Countdown Custom Control (for Shop Secondary Kill)
(1) Preface Android actually provides a countdown control called CountDownTimer, which is easy to use, but it's cumbersome to follow the desired countdown style. For example, we want the countdown to show HH:MM:SS or HH-MM-SS in the style we want, or we want to show it as follows: The work to be done is tedious, not impossible, but expensive, ...
Posted by markduce on Sat, 12 Feb 2022 03:03:48 +0100
Github has 4600 + stars. Learn a Python trick every 30 seconds. Love it
Many friends who study Python will encounter many problems in the implementation of functions in the actual project. Some problems are not very difficult, or there are good methods to solve them. Of course, who can make a coincidence? When we are proficient in the code, we can naturally summarize some useful skills, but it may not be so easy fo ...
Posted by universelittle on Sat, 12 Feb 2022 02:58:57 +0100