We have already implemented the format conversion function implemented by ourselves using classes. Now how do we package our functions so that others can use them conveniently? This article learned how to use Visual Studio for packaging. 1. Dynamic link library template Visual Studio provides dynamic link library templates. When we create a new project, […]
Tag: visual-studio
How to use Markdown -Visual Studio Code
Zero. markdown software a. This article uses VsCode as the markdown software. Click Vscode to enter the website to install the latest version of visualStudioCode. b. After the installation is complete, open VsCode and install the following plug-ins on the extension bar: Markdown All in One Markdown Preview Enhanced Markdown Image The steps are as […]
Visual Studio uses Git to ignore files you don’t want to upload to the remote repository
Foreword As a .NET developer, with the support of the most powerful IDE in the universe: Visual Studio, our development efficiency has been better improved. We don’t need to worry about the configuration of environment variables and other code management tools, because Visual Studio has many expansion tools. Without further ado, let’s get straight to […]
Using CodeFuse in Visual Studio Code
Visual Studio Code is a popular code editor among programmers and occupies a mainstream position in front-end development and various scripting language development. CodeFuse intelligent R&D assistant has specially developed a plug-in for VS Code. You can use CodeFuse as long as the plug-in is installed. Various functions provided, let’s take a look at how […]
[Quick Quick] Visual Studio C/C++ creates Dll (dynamic link library) and calls it
The following examples are all completed in the VS2022 environment. 1. Create a dynamic link library (C++) 1. Create a new dynamic link library project template: 2. After creating a new project MyC++_Dll, the default directory structure is as follows: 3. Add and create a new header file MyC++ _Dll.h and source code file MyC++ […]
How to link and use mysql in visual studio in C#
Article directory Preface 1. Preparation work 2. C# uses Sql code demo Foreword Because the work has been transferred from C++ to C#, here we record how C# connects to the database. We will consider database transaction issues and threading issues later. Currently, it is just a simple implementation, as long as it can be […]
Detailed steps for downloading and installing Visual Studio 2022—–C language editor
Table of Contents 1. Introduction (1) Differences from other software (2) Introducing the types of editors used to write C language 2. Download and install 3. Create and run the first C language program (1) Create a project (2) Create new files (3) Writing C language code (4) Run the code 1. Introduction Official website: […]
Visual Studio preprocessor macros in detail
The default Release and Debug version preprocessor macros in Visual Studio C/C++ projects can include some common macro definitions, some of which may depend on the project’s settings and target platform, in addition to which custom ones can be created as needed. Version: Figure-1 Debug version preprocessing macro definition of a VS C/C++ project WIN32:This […]
Debugging techniques used in C language vs. Visual Studio
Table of Contents 1. What is a bug? 2. What is debugging? Why is debugging important? 2.1 Basic steps for debugging 2.2 Introduction to Debug and Release 3. Introduction to debugging in Windows environment 3.1 Preparation of debugging environment 3.2 Learn the shortcut keys 3.3 Edit shortcut keys 3.4 Check the current information of the […]
Visual Studio Code configures the C environment
1. Open the Visual Studio Code interface First install the C/C++ extension Note: VS code does not support C language debugging and compilation in the Windows environment, so we also need to download WinGw of Tools such as gcc to provide support. 2. The next step is to download and install MinGw (1) Official website […]