Building Google test project from zero in windows

Google test (also known as gtest) is a testing framework developed by Google testing technology team. It provides a set of excellent unit testing solutions for c/c + + code. This paper introduces how to use Google test to build your own unit test project from zero under windows. 0. Environmental preparation System: Windows10 vscode: https://c ...

Added by aznjay on Sun, 07 Nov 2021 20:33:55 +0200

Simulate concurrent execution of processes

3, Experimental content Use C language or JAVA language or C + + language (unlimited means) to simulate the concurrent execution of the process. requirement: 1: The competition for CPU should be reflected in the single CPU environment; 2: It should reflect the disorder of process scheduling without the support of explicit scheduling algorithm ...

Added by bookbuyer2000 on Mon, 18 Oct 2021 21:00:58 +0300

GDI + learning record

Introduction to GDI +: GDI (Graphics Device Interface), a set of API interfaces provided by Windows for image rendering. GDI + is an optimized version of GDI, which is easier for developers to use. usage method: /*GDI+ Header file*/ #include <objidl.h> #include <gdiplus.h> /*The system is provided in the form of GdiPlus. d ...

Added by notaloser on Fri, 15 Oct 2021 06:21:16 +0300

Java AES encryption test knife

In the process of java development, we often need to encrypt data, such as sound, sensitive information and so on. We usually use MD5 encryption, SHA encryption, DES encryption, AES encryption, etc. Today we'll look at AES encryption. Source of the problem In the project, the code was well written, and there was no problem in the local te ...

Added by shinephp on Sat, 09 Oct 2021 21:24:36 +0300

Application of threads and multithreading in Java se

thread Single thread execution path 1, Program, process, thread, CPU Program: a set of instructions written in a certain language to complete a specific task. It refers to a piece of static code. The static code is stored in the hard disk. When the program is executed, the static code becomes a process. Process: the program being exe ...

Added by rline101 on Fri, 08 Oct 2021 07:45:45 +0300

Windows Experiment 2 - C#Call DLL Operation Registry

1 Experimental content: Call DLL with C#to implement operation on registry (advapi32.dll) This experiment is the first attempt to use windows DLL content. I use Runtime Dynamic Link (using DllImpot). The biggest problem encountered during the experiment is the function parameters (parameter type, number, role of each parameter). Introductio ...

Added by localhost on Tue, 05 Oct 2021 20:23:28 +0300

Android Framework combat video -- BootAnimation startup source code analysis (Android 8.1)

Course Q & A and new course information: QQ communication group: 422901085 for course discussion Video link of FrameWork introductory course: https://edu.csdn.net/course/detail/30298 Video link of FrameWork practical lesson 1: https://edu.csdn.net/course/detail/30275 FrameWork cross process communication video link: https://edu.csdn.net/cou ...

Added by grumpy on Mon, 04 Oct 2021 23:54:22 +0300

Intranet penetration to quickly realize remote desktop

1. Preface When it comes to remote desktop, you may think of third-party software such as TeamViewer and sunflower However, most of them are commercial software, which is expensive; Even if the free version is provided, there are various restrictions, and the stability and security cannot be guaranteed This article will introduce how to use ...

Added by paul2463 on Fri, 01 Oct 2021 20:30:24 +0300

Connection oriented Socket programming

Experiment 2 connection oriented Socket programming 1, Experimental purpose 1. Understand the working principle, service mode and type of Socket. 2. Understand the framework structure and related data structure of Socket application. 3. Understand the connection oriented Socket communication process. 4. Master the method of using WinSock func ...

Added by shab620 on Wed, 29 Sep 2021 23:31:04 +0300

Python online chat room (windows)

#server address HOST = 'localhost' #Server port PORT = 9999 #Server pipeline address PIPE_PORT=9998 #Data buffer size BUFFERSIZE = 1024 #Server socket connection address ADDR = HOST,PORT #The server connects the keyboard to the server's pipe address PIPE_ADDR = HOST,PIPE_PORT #Default language selection language = 'cn' 2. : international ...

Added by Anzeo on Tue, 28 Sep 2021 10:55:17 +0300