modern_cpp_3-C++ Basic Syntax
Slides of structure 2:
Modern C++ for Computer Vision Lecture 2: C++ Basic Syntax (uni-bonn.de)
This part mainly introduces the keywords, entities, entity declarations and definitions, types, variables, naming rules of identifiers, expressions, if else structures, switch structures, while loops, for loops, arithmetic expressions, condition ...
Posted by aswini_1978 on Sat, 22 Jan 2022 06:45:58 +0100
Yunyan [ctf experiment]
Bored casually did a few questions
catalogue
contradiction
It's no use being single for a hundred years
Hand speed of being single for 20 years
ereg
intval
contradiction
<?php
$num=$_GET['num'];
if(!is_numeric($num))
{
echo $num;
if($num==1)
echo 'flag{**********}';
}
?>
If you normally give a string of code, you will feel a co ...
Posted by bskauge on Sat, 22 Jan 2022 06:39:11 +0100
Basic knowledge of C + + (10000 words summary)
Article catalogue
catalogue
Article catalogue
preface
1. Input and output of C + +
1.1.C + + header file
1.2.C + + I / O
2. Default parameters
2.1 definition of default parameters
2.2 classification of default parameters
**All default parameters
**Semi default parameter
2.3 precautions for default functions
3. Function overloading ...
Posted by LordTyphon on Sat, 22 Jan 2022 05:37:32 +0100
Uncle Niu talks about Python Chapter 14: explain the inheritance and instances of Class (take the king as an example)
Uncle calf takes you across the threshold of Python class easily
1. Boastful inheritance
The best example of inheritance turns out to be virus replication. COVID-19 COVID-19 is rampaging around the world. The delta variant has triggered a new epidemic because of its more powerful transmission. Even China's city has not been spared. The proces ...
Posted by yoda69 on Sat, 22 Jan 2022 05:30:34 +0100
Common methods of multithreading
Common methods of multithreading
start and run
First look at calling the run method
Code example:
package com.wxit.test02;
import lombok.extern.slf4j.Slf4j;
/**
* @author wj
* @date 2022.01.02 19:25
*/
@Slf4j(topic = "c.Test")
public class Test {
public static void main(String[] args) {
Thread thread = new Thread("t1") {
...
Posted by Tracer on Sat, 22 Jan 2022 04:13:54 +0100
Six common design modes: II. Factory mode
2.1 introduction
The core essence of the factory model:
The instantiated object is not created with new, but replaced with factory method;The implementation class will be selected and the object will be created for unified management and control, so as to decouple the caller from the implementation class.
The core idea is to realize the sepa ...
Posted by twooton on Sat, 22 Jan 2022 03:33:40 +0100
Thymeleaf basic grammar
Thymeleaf displays and processes data through standard variable expressions
Standard variable expressions must rely on labels and cannot be used independently.Standard variable expressions are generally in the start tag, starting with th.The syntax is: < tag th: * * * = "${key}" > < / tag >In the expression, ${} can be us ...
Posted by cruzbullit on Sat, 22 Jan 2022 03:28:28 +0100
Do you know the two sorts of [Java comparator]?
❤ Write in front ❤ Blog home page: Hard working Naruto ❤ Series column: Java basic learning 😋 ❤ Welcome, friends, praise 👍 follow 🔎 Collection 🍔 Learning together! ❤ If there are mistakes, please correct them! 🌹
1, Two ways of sorting objects in Java
In Java, the sorting of object arrays is often involved, so the comparison bet ...
Posted by cesar_ser on Fri, 21 Jan 2022 22:42:25 +0100
Enumeration class of Java foundation -- detailed explanation
Enumeration class of Java foundation - detailed explanation
1. User defined enumeration class
Introduce concepts:
When do we start using enumeration classes?
Introduce a small case:
We live in spring, summer, autumn and winter
Then these attributes are fixed, and these names are not allowed to be modified. Then we can define a class ...
Posted by JDBurnZ on Fri, 21 Jan 2022 21:25:27 +0100
Take you a few minutes to master the use of Spring annotations
👏 About the author: Hello, I'm cabbage ~ ~, a sophomore in school, and a new star creator in the Java field.📝 Personal homepage: Cabbage CSDN blog📕 Series column: This article is written in the Java design pattern column: Spring5 knowledge record📧 If there are mistakes in the knowledge points of the article, please correct them! Learn and m ...
Posted by TKKP on Fri, 21 Jan 2022 20:30:16 +0100