Configure c + + for vscode under linux to debug it like visual studio 2019

c + + compiling mode under linux         Under win, visual studio has carried out a large number of encapsulation for us, and designed a large number of easy-to-use configurations and interfaces, so that developers pay too much attention to the underlying compilation and linking process, and only need to pay attention to t ...

Posted by ultk on Mon, 06 Dec 2021 16:48:56 -0800

vscode - Ubuntu - Makefile details (extremely easy to understand)

1. Makefile introduction          There are countless source files in a c + + project, which are placed in several directories according to type, function and module. Makefile file defines a series of rules to specify which files need to be compiled first, which files need to be compiled later, which fil ...

Posted by jrough on Fri, 03 Dec 2021 13:50:44 -0800

Algorithm and data structure

1, Algorithm ++n n + + differences int n=1,n1,n2; n1=++n; System.out.println(n1); System.out.println(n); n2=n++; System.out.println(n2); System.out.println(n); 2 2 2 3 1. Concept Philosophy of writing algorithms: From simple to complex: verify step by step and print more intermediate results Part first and then whole: subdivide when ...

Posted by hiprakhar on Fri, 03 Dec 2021 00:00:07 -0800

C++ experiment_ 4:STL Application

Experimental Background The full name of STL is Standard Template Library. STL involves many aspects, including but not limited to containers, iterators, algorithms, and function objects. This blog only introduces the most intuitive content of STL, involving principles and deeper concepts. You need to look for your own materials to learn. ...

Posted by jacomus on Sat, 27 Nov 2021 10:45:53 -0800

vscode Common Shortcuts

There are too many shortcuts in vscode to be dazzling, but we only need to remember a few commonly used shortcuts to improve development efficiency, so summarize them and bold them to help improve efficiency. 1. Main Command Box F1 or Ctrl+Shift+P (commonly known as the omnipotent key): Open the command panel. In the open input box, you c ...

Posted by mikkex on Sat, 27 Nov 2021 09:45:32 -0800

(vscode) C + +, SFML write game applet ----- note1

Call the SFML class and draw several small shapes to the window. (window class, shape class) #include <SFML/Graphics.hpp> int main() { //create a window sf::RenderWindow window(sf::VideoMode(640, 480), "SFML Application"); //create a circle shape sf::CircleShape cShape; cShape.setRadius(40.f); cShape.set ...

Posted by randydg on Sat, 20 Nov 2021 17:52:15 -0800

Combination of ESLint and Prettier

preface Forced consistency and double formatting are the most fatal 1, ESLint? Remember when I first contacted eslint, what was it? How to delete this thing VSCode configuration It is convenient to use the Eslint plug-in of VSCode, so let's install the Eslint plug-in first After the installation is completed, of course, the conf ...

Posted by mephistoo on Fri, 12 Nov 2021 06:51:06 -0800

Write latex through VSCode under Windows

Why latex You have this demand. It must be because latex is very popular. In my opinion, the cow is: Autotypesetting formatWhen submitting papers, you can directly borrow the template provided by relevant journals to fill in information. How to install and configure latex The configuration mentioned here is mainly aimed at the latex con ...

Posted by dsoukup on Sun, 31 Oct 2021 02:18:50 -0700

Fast RCNN code operation record

For your reference and study, if you have any questions, welcome to exchange and correct!   first, there are installed anaconda, pytorch 1.0 and cuda on the laboratory server. First, apply for an account with the administrator and enter the account folder according to the account password. 1. Remote connection server ssh(VScode) I ...

Posted by Ruiser on Thu, 28 Oct 2021 11:56:51 -0700

VSCode Chinese environment configuration + LaTeX configuration

VSCode Chinese configuration+ L a T e X LaTeX LaTeX configuration equipment MacBook Pro (13 inch, 2018, four thunderbolt 3 ports) Operating system: MacOS Big Sur ...

Posted by prudens on Wed, 13 Oct 2021 13:08:36 -0700