Compilation and configuration of visual studio 2019 under Win10 system: lastools-v2 zero

1, Overview 1,LAStools-v2.0.0 The library has been updated for some reason. Last updated on: January 7, 2022. Lastools version: 220107. Due to some requests, now start using git publishing. Lastools uses version control in the YYMMDD scheme. This is very common for most lasttools users, so keep this version number. In addition, we will fo ...

Added by QbertsBrother on Sun, 13 Feb 2022 12:37:09 +0200

Implementation of Tetris in C language

catalogue     1, Game effect display     2, The complete code can be copied and run directly     3, Required development environment     4, Specific project realization     ① Game welcome interface (welcome)     ② Game background initGameScreen()     ③ The square represents int block [] [] []     ④ The new box represents nextBlock()    ...

Added by TheMayhem on Sun, 13 Feb 2022 10:45:51 +0200

Mathematics and simple DP

mathematical problem Example: the number you can't buy Xiao Ming opened a candy store. He is ingenious: wrap the fruit candy into two kinds: a bag of 4 and a bag of 7. Candy can't be unpacked. When a child comes to buy sugar, he uses these two kinds of packaging to combine. Of course, some candies cannot be combined, such as buying 10 can ...

Added by dfego on Sun, 13 Feb 2022 10:14:59 +0200

Function overloading of C + + Introduction (basic syntax)

Write in front For those who don't understand the compilation and linking of C language, you can look at the following articles and review the previous knowledge first. Explain the compilation and link of C language in detail 1 concept of function overloading Function overloading: it is a special case of functions. C + + allows to dec ...

Added by jmgrhm on Sun, 13 Feb 2022 09:40:10 +0200

C++11_lambda expression, wrapper, bind binding

1.lambda expression [capture list] (parameter list) mutable - > return value type {function body} mutable: by default, lambda expressions have const attribute by default. mutable can cancel its const attribute. Note: when using this modifier, the parameter list cannot be omitted even if it is empty When there is no mutable in the para ...

Added by slyte33 on Sun, 13 Feb 2022 07:54:48 +0200

PTA week 3 * (1039-1041)

I've had a good time these days. I had a good time with my family and felt super bored when I was ready to go back to school. After all the updated dramas were finished, I picked a few topics that could not form a group to pass the time. I'm going to set foot on the bullet train back to school in Nanjing in the afternoon. catalogue 1039 Cou ...

Added by promovi on Sun, 13 Feb 2022 07:04:07 +0200

2022-02-13 swipe questions and punch in every day

2022-02-13 swipe questions and punch in every day AcWing - Fundamentals of algorithm 897. Longest common subsequence - AcWing question bank Given two strings A and B with lengths of N and M respectively, find the longest string length of both A subsequence and B subsequence. Input format The first line contains two integers N and M. The s ...

Added by ollmorris on Sun, 13 Feb 2022 06:50:17 +0200

c + + multithreading learning note 1 -- multithreading related concepts and simple example functions

Process: It can be simply understood as an executable program Thread: A process can contain multiple threads, and there must be a main thread. Differences and connections between processes and threads: 1) The process is the smallest resource allocation unit and the thread is the smallest program execution unit. Every time a new process is est ...

Added by whisher06 on Sun, 13 Feb 2022 04:57:16 +0200

C + + type conversion function: converts the type of the current class to other types

C + + type conversion function: converts the type of the current class to other types The conversion constructor can convert other types to the current class type (for example, convert double type to Complex type), but it cannot convert the current class type to other types (for example, convert Complex type to double type). C + + provides a ...

Added by CyberShot on Sun, 13 Feb 2022 03:44:34 +0200

Detailed explanation of C++ throw

Detailed explanation of C++ throw In the previous section, we talked about the process of C + + exception handling, specifically: Throw – > Try - > Catch Exceptions must be explicitly thrown before they can be detected and caught; If there is no explicit throw, even if there is an exception, it cannot be detected. In C + +, ...

Added by metrostars on Sun, 13 Feb 2022 03:15:27 +0200