Guessing games based on C language (with source code)_* Blog with the wind of the past*

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface A simple guessing game based on C language aims to get familiar with the random number functions, method calls and the application of modular code in C language. 1, Rules of th ...

Posted by jd307 on Mon, 07 Mar 2022 21:59:01 +0100

javascript Design Pattern

The content comes from javascript Design Patterns and development practice 1, Singleton mode Definition: ensure that a class has only one instance and provide a global access point to access it. For example, when we click the login button, a login floating window will appear in the page, and this login floating window is unique. No matter how ...

Posted by hwttdz on Mon, 07 Mar 2022 21:55:47 +0100

Java -- use of methods

1. Method definition and call So what is the method? A method is essentially a block of codeSo what is the significance of the method? After defining a method, you can call it repeatedly in different positions, so you don't need to write the same piece of code repeatedly. 1. Method definition and calling syntax Method definition syntax ...

Posted by Josh954r on Mon, 07 Mar 2022 21:49:56 +0100

Implementation of uploading / downloading OSS files for iOS Alibaba cloud object storage

In previous projects, resource files such as pictures and voice were directly uploaded to the server, and then processed and stored by the server. In this recent project, the server opens the OSS directly, and then the client uses it directly Alibaba cloud Provide upload and download functions to upload and download resources.Alibaba cloud The ...

Posted by ajcalvert on Mon, 07 Mar 2022 21:41:25 +0100

equals() ? ==? hashCode()? Get to know you all today

catalogue Data types in Java When to use the relational operator = =, and when to use the equals method? For the equals method, why did you report a null pointer Java lang.NullPointerException? What does the hashCode method do? What is the relationship between hashCode and equals? Why must the hashCode method be overridden in every ...

Posted by amorphous on Mon, 07 Mar 2022 21:40:53 +0100

AOP learning record and @ Configuration annotation use

AOP is face to face, why face to face? What operations require AOP programming? The main purpose of Aop is to extract the aspects in the business processing process. It faces a step or stage in the processing process, so as to obtain the isolation effect of low coupling between various parts in the logical process. For example, the most com ...

Posted by robos99 on Mon, 07 Mar 2022 21:37:33 +0100

socket(tcp,udp),html,http

%config Completer.use_jedi = False 1. TCP client programming AF_INET: IPV4 protocol is adopted AF_INET6: adopt IPV6 protocol SOCK_STREAM: specifies to use the stream oriented TCP protocol 80: web service standard port number 25: SMTP service standard port number 21: FTP service port number 1024: port for Internet standard services ...

Posted by trellie on Mon, 07 Mar 2022 21:36:42 +0100

Use of filters in SpringBoot

1. Introduction to filter The concept of filter should be familiar to everyone, especially to those who start with Servlet and learn Java background. So what can we do with this thing? Filter filter is mainly used to filter user requests. It allows us to pre process and post process user requests, such as realizing URL level permission control ...

Posted by PureEvil on Mon, 07 Mar 2022 21:34:37 +0100

CSS layout (required) -- position attribute

CSS layout -- position attribute The position attribute specifies the type of positioning method (static, relative, fixed, absolute, or sticky) applied to the element. ------------------------------------------------------------------------------------------ position attribute The position attribute specifies the type of positioning me ...

Posted by omegared on Mon, 07 Mar 2022 21:28:17 +0100

Java based multithreading

1. Review Interface ① Method (by jdk version) ② Multiple inheritance ③ Variable characteristics ④ One of the prerequisites of polymorphism ⑤ Factory design mode, at least know the simple factory ⑥ vs abstract class abnormal ① Abnormal ancestor class: Throwable ② Classification of exceptions: compilation (inspected) + operation (non inspected ...

Posted by dnzone on Mon, 07 Mar 2022 21:26:55 +0100