VBScript script language foundation

VBScript script language foundation 2.1 introduction of vbs script language 2.2 the first vbs scripting language - hello world Open Notepad program, fill in the edit window, save the file extension as. vbs dialog box: Input box inputbox("please input the length of the first edge", &quo ...

Posted by DJTim666 on Mon, 29 Jun 2020 19:26:57 -0700

Junit unit test and reflection

1.Junit unit test Test classification: 1. Black box test: do not need to write code, do not see the process of program execution, input some parameters, and see the expected results. 2. White box test: you need to write code, you can see the process of program execution, enter some parameters, and see ...

Posted by rolwong on Sat, 27 Jun 2020 00:05:30 -0700

Lectures 3 and 4 of C++mooc in Tongji University

Lectures 3 and 4 of C++moooc in Tongji University Lecture 3 Topic 1 The function of the following program is to divide two non-zero integers by a quotient and a remainder.There are several errors in the program, try to find out which ones to modify, and verify the results on the computer. Code slice. ...

Posted by Democreous on Sat, 20 Jun 2020 18:27:41 -0700

Write a calculator program using fyne

brief introduction In the previous article, we introduced fyne, a high-skin GUI library for Go.This article goes on to show how to write a simple calculator program using fyne.The program works as follows: Control Layout We useWidget.EntryTo display the input numbers, operators, and operation results.Create one firstWidget.EntryObject, set to ...

Posted by hrichman on Thu, 18 Jun 2020 18:32:58 -0700

OpenCV for multi-target tracking

OpenCV for multi-target tracking Project framework Code block analysis Full code and resource download connection Experimental framework, modules used The experimental framework is as follows ├── mobilenet_ssd ​ ├── MobileNetSSD_deploy.caffemodel └── MobileNetSSD_deploy.prototxt ├── multi_ob ...

Posted by evilMind on Thu, 11 Jun 2020 21:30:48 -0700

AOP learning notes

catalog introduction AOP overview AOP terminology Understanding of hands through practice (simple calculator) introduction What is AOP? (interview question), simply answering face-to-face programming can't satisfy the interviewer, it's better to combine your own understanding. AOP overview ...

Posted by durahman on Tue, 09 Jun 2020 21:30:50 -0700

Don't know how to improve code quality?Take a look at these design patterns!

Purpose of improving code quality Programming apes do their job of writing code. Writing high-quality code should be our pursuit and our own requirement because: High quality code often means fewer BUG s, better modularity, and is the basis for our scalability and reusability High quality code also means better writing, better naming, ...

Posted by kcorless on Fri, 05 Jun 2020 17:20:40 -0700

200 lines of Java code for calculator program

I found a calculator program written in college, and a graphical interface, which can graphically display the expression syntax tree, ha ha;) There are only 200 lines of Java code, which can not only calculate addition, subtraction, multiplication and division, but also match parentheses~ Code comments: From simple interface color matching to ...

Posted by aznkidzx on Sun, 17 May 2020 09:14:50 -0700

Square root of LeetCode 69. x

My LeetCode: https://leetcode-cn.com/u/ituring/ My LeetCode source code [GitHub]: https://github.com/izhoujie/Algorithmcii Square root of LeetCode 69. x subject Implement the int sqrt(int x) function. Calculates and returns the square root of X, where x is a non negative integer. Because the return type is an integer, the result only retains ...

Posted by turtlefox on Tue, 12 May 2020 02:03:54 -0700

How to use the thrift service engine component

This article describes how to use thrift to call RPC remotely if thrift components are integrated into the surging micro-service engine, then dotnetty or thrift can be selected as the service or surging can be invoked through thrift in other languages. Here is a brief description of how to use thrift Dead work First need to Official Web Downl ...

Posted by DillyDong on Tue, 05 May 2020 20:02:48 -0700