MFC uses RawInput to obtain code scanning gun data without focus

        Recently, when the code scanning gun is used in the company's projects, it may encounter the situation that the focus is not in the program. As a keyboard device, the code scanning gun will also output the data where the focus is. It has been found on the Internet for a long time. Basically, there are many hooks, bu ...

Added by mburkwit on Fri, 29 Oct 2021 04:43:22 +0300

C++_STL-unordered_map,unordered_multimap,unordered_set,unordered_multiset

C++_STL-unordered_map,unordered_multimap,unordered_set,unordered_multiset reference resources: cplusplus These are written by the zipper method, so they have many similarities together. The following only records the member functions that have not been encountered before You can see if you encounter something unclear C++_STL-map ...

Added by hurricane on Thu, 28 Oct 2021 13:50:39 +0300

How Opengl-Day2 Begins Two Weeks draws a triangle

First remember a few nouns Vertex Array Object, VAOVertex Buffer Object, VBOIndex Buffer Objects: Element Buffer Object, EBO or Index Buffer Object, IBO Some conceptual points Everything in OpenGL is in 3D space. Screens and windows are arrays of 2D pixels. Most of OpenGL's work is to change 3D coordinates into 2D pixels that fit on the scre ...

Added by xiosen on Wed, 27 Oct 2021 20:19:44 +0300

How to write a programming language yourself (first experiment in Unix system programming / U language interpretive language)

1. Experimental Requirements 1. Goals Implement an interpretive language, Ulanguage, in C, so that it can be executed in the terminal Java and Python are explanatory languages that require an interpreter to interpret execution at execution time - interpret an instruction when you see it (advantages: cross-platform; disadvantages: ineffici ...

Added by neh on Wed, 27 Oct 2021 19:48:44 +0300

724-C + + iterator detailed explanation

Iterator Concepts What's the use of iterators? Why do generic algorithm parameters receive iterators? Iterator iterator is one of the components of C++ STL. It is used to traverse containers and is a general way to traverse container elements. No matter what data structure the container is based on, although the way of traversing elements is ...

Added by billf on Wed, 27 Oct 2021 17:05:24 +0300

Summary of basic network knowledge II

Http protocol URL Usually, the "website" we commonly call is actually the URL urlencode and urldecode The urlencode method is to convert any parameter we give into a string suitable for placing in the URL. Specific rules: Letters, numbers and hyphens remain unchanged.Convert spaces to plus signs.All other characters are con ...

Added by jigaruu on Wed, 27 Oct 2021 16:22:06 +0300

HDU - 6992 law of the dead

Original question link Idea: we think about accessibility. The accessibility of each grid comes from the grid on the left and the grid above. Let's take the first behavior as an example. Why can't all points on the right of the first mine in the first row be reached? Because this mine cuts off all the remaining schemes from the left, and there ...

Added by q1234ask on Mon, 25 Oct 2021 17:28:08 +0300

Answers to exercises in section 15.7 of Chapter 15 of C++ Primer

Chapter 15 object oriented programming of C++ Primer Section 15.7 answers to constructor and copy control exercises Exercise 15.24: what kind of virtual destructor is required? What operations must the virtual destructor perform? [Topic setting ideas] Familiar with virtual destructors. [answer] The class used as a base class should have a ...

Added by bongbong on Mon, 25 Oct 2021 17:19:25 +0300

Configure C + + development environment in VSCode (Win10 system)

preparation To use the C + + development environment in VSCode, you need to download and install: VSCode , just like installing other applications, select the installation path and add environment variable option to continue to the next step until the installation is completed.MinGW , pay attention to x86 during installation_ 64 architect ...

Added by iHack on Mon, 25 Oct 2021 08:40:53 +0300

[C + +] Chapter 11: Inheritance

[C + +] Chapter 11: Inheritance 1, Concept of inheritance 1. First acquaintance of inheritance When writing a function with the same name with the same function, C + + syntax creates syntax such as "function overload", "function template" in order to simplify the code. However, if there are many similarities and diffe ...

Added by dominant on Sun, 24 Oct 2021 21:21:41 +0300