modeless dialog box
Dialog boxes are divided into modal and non-modal ones. Modal dialog boxes are commonly used. A new dialog box can be created in the resource file, and then DialogBox can be called in WinMain function to display the dialog box. When the modal dialog box is not closed, the main window can not be operated on, it must be closed before it can ...
Posted by suckablesausage on Tue, 16 Jul 2019 23:19:54 +0200
Mobile Camera and Album (1): Basic Call and Photo Cutting
There are many system controls in Android system that we often use in our daily development, such as keyboard, camera, album, telephone, short message and so on. Today, the Tao Chief speaks about the basic calls of mobile phone albums and cameras, the system's own cuttings and customized cuttings. Let's get up...
Basic Call of Camera
Jump ...
Posted by shareaweb on Thu, 11 Jul 2019 00:36:56 +0200
C++ Abstract Programming: Detailed Interconversion between Strings and Integers
Given that files and strings are sequences of characters, it seems reasonable to think that programming languages may allow us to treat them the same way. C++ provides this functionality through the < sstream > library, which exports several classes that allow streams to be roughly the same as a string value and the < fstream > lib ...
Posted by trackz on Wed, 10 Jul 2019 00:29:29 +0200
23 Design Patterns--Strategic Patterns
Definition of a policy pattern:
A policy pattern defines a series of algorithms and encapsulates each one so that they can be substituted with each other. A policy pattern makes an algorithm independent of the clients that use it. Scenarios for using the policy pattern:
Multiple ways of dealing with the same type of problem, only when speci ...
Posted by azukah on Sat, 29 Jun 2019 18:22:24 +0200
Akka (13): Distributed Operations: Cluster-Sharing-Operations Cluster Fragmentation
Through the introduction of Cluster-Singleton in the last part, we understand Akka's programming support for distributed programs: message-driven computing mode is particularly suitable for distributed programming, we do not need special efforts, just need to follow the normal Actor programming mode to achieve cluster distributed programs. Clus ...
Posted by feckless on Fri, 14 Jun 2019 02:59:14 +0200
Java applications: homemade high-precision calculator (2)
Previous The article explains how to parse an input expression into multiple Token s through a regular form, and the core of this article is how to evaluate the expression.The expressions we enter, that is, the expressions we usually see, are infix expressions - the meaning of infix is that in an expression, the operator is placed in the middle ...
Posted by qazwsx on Wed, 29 May 2019 18:40:07 +0200
android unit testing
In fact, every time you create a new andorid project, you will automatically import JUnit. What is this? Many times I feel that this thing is useless, and I delete it inadvertently, until I see Clean Code, I realize that this thing seems very important, so I start to learn by myself. The following basic steps are recorded:
1 (model) build.g ...
Posted by keith73 on Mon, 20 May 2019 22:02:48 +0200
Operation and Application Instance in shell Based on linux
Operation modes and symbols:
Operational Symbolic Meaning (*Common for Marking)
+, -addition, subtraction
*, /,%Multiplication, Division, Remaining
**Power operation
++, --self-increasing, self-decreasing
<,<=,>,>=Comparison Symbol
=, +=, -=, *=, /=,%=assignment
For example, a+=1 equals a=a+1
Common operatio ...
Posted by superdan_35 on Sat, 11 May 2019 20:20:51 +0200
Packaging knowledge combing
Our daily computer mainframe encapsulates cpu, memory, motherboard and so on into the chassis. If there is no chassis, then there is no boot button, then we need to operate the jumper directly to turn on the computer. In this way, if the operation is not careful, the machine will be damaged and dangerous, then if encapsulated w ...
Posted by aaronlzw_21 on Thu, 09 May 2019 21:46:02 +0200
Studying “ Huaxiao ” Should it be used or not?
How to use data mining "flower choke" in the end should not be used?
Based on Monte Carlo principle:
If all the expenditure in that month is paid by the flower, when the arrears of the flower in that month are greater than the expendable income in that month, it will "eat dirt".
_Budget design 120 months ...
Posted by Matt Kindig on Tue, 07 May 2019 03:45:04 +0200