VSCode has an extension called Native Debug, which is very convenient for program debugging. This paper describes how to use this extension, taking C/C + + as an example.
The running environment is Win10 and the compiler is mingw gcc 9.2.0, which needs to be installed in advance.
I. install Native Debug
Search for native in the VSCode exte ...
Posted by BizLab on Sun, 01 May 2022 13:01:47 +0300
1, Trap of function
1. Trap of default parameters
The default parameter for is a variable data type. No matter how many times you call this default parameter, what you call is the data under the agreed address.
The default parameter for is a variable data type. No matter how many times you call this default parameter, what you call is the da ...
Posted by dinku33 on Sun, 01 May 2022 12:46:34 +0300
Posted by wwfc_barmy_army on Sun, 01 May 2022 09:06:59 +0300
Annotation is jdk1 A new development technology structure proposed after 5. Using annotation can effectively reduce the code of program configuration and carry out some structured definitions. In fact, it is a program development in the form of annotation.
In the past, our program development was divided into three processes:
Process 1: when ...
Posted by simshaun on Sun, 01 May 2022 07:58:40 +0300
Deltas is a simple and expressive format that can be used to describe Quill's content and changes. This format is essentially JSON, which is human readable and easy to be parsed by machines. Deltas can describe any Quill document, including all text and format information, without the ambiguity and complexity of HTML.
Posted by Xyn1407 on Thu, 28 Apr 2022 14:25:41 +0300
We know that Java Switch supports byte, short and int types, enumeration types in JDK 1.5 and String types in JDK 1.7. So why can't it support long type? Obviously, it is numeric like byte, short and int. how does it support String type?
Don't talk about it, let's draw a conclusion first:
The bottom layer of switch uses int typ ...
Posted by sbunse on Mon, 25 Apr 2022 23:35:29 +0300
although I started a little late, I finally began to learn Python. As my learning notes, this series of articles is mainly for my own review of the old and new, and also for sharing with you who are interested. As the third article of this note, this article mainly involves the syntax related to lists.
This article mainly involv ...
Posted by khovorka on Mon, 25 Apr 2022 17:33:36 +0300
Title stem: 1153 Decode Registration Card of PAT (25 points)
Problem solution: I got 19 points for my own problem solution. The last two points timed out. Even if I used unordered mapping, I didn't solve it... But for people at my level, I am very satisfied.This problem can be said to be a very classic one. This problem uses many operations of ...
Posted by deejay on Sun, 24 Apr 2022 18:09:21 +0300
Introduction to observer mode
Observer pattern is the most commonly used design pattern in design patterns. It is often used in one to many software design scenarios. A popular example is the relationship between a newspaper and its subscribers. Anyone who needs a newspaper only needs to subscribe to the newspaper, and the newspaper office wil ...
Posted by ashrust on Thu, 21 Apr 2022 01:12:48 +0300
Paragraph I. Knowledge Reserve
Knapsack problem is a combinatorial optimization NP-complete problem. The problem can be described as: Given a set of items, each item has its own weight and price. Within the limited total weight, how do we choose to make the total price of the item the highest? The name of the problem comes from how to choose t ...
Posted by Cannibal_Monkey on Tue, 19 Apr 2022 20:07:42 +0300