Six special member functions of C + + class

1. Set the parameters of six functions to run them first // // Created by liuhao on 20-1-1. // //================================================================================= #include <iostream> //using namespace std; class Stu { private: std::string name = "Anonymous person "; ...

Posted by whitsey on Mon, 24 Feb 2020 08:38:08 +0100

How to write multiple if judgments gracefully

Preface In daily projects, we often use if to judge, but in multi-level projects, you will find that the code is cumbersome demand Now there are four products, namely mobile phones, computers, televisions and game consoles. Of course, the prices of each product are different if judgement To see such a r ...

Posted by Daniel0 on Sun, 23 Feb 2020 11:01:48 +0100

Insights into applets

Insights into applets Counter war What is applet Small program is an application that can be used without downloading and installation. It realizes the dream of "within reach" of the application. Users can scan or search the application to open it. It also embodies the concept of "go ...

Posted by mwd2005 on Sun, 23 Feb 2020 10:29:42 +0100

Basic operation of Hive

Article directory 4, DDL data definition 4.1 create database 4.2 query database 4.3 modify database 4.4 delete database 4.5 create table 4.6 zoning table 4.7 modification table 5, DML data operation 5.1 data import 5.2 data export 5.3 clear data in the table (Truncate) Six, query 6.1 basic query ...

Posted by PyroX on Sun, 23 Feb 2020 09:38:46 +0100

ZABBIX docking flybook realizes alarm notification with pictures

Flybook provides rich api to realize message notification, including text message, picture message and rich text message. This paper introduces the use of flybook api to send rich text message. The following is the implementation ideaAPI address: https://open.feishu.cn/document/ukTMukTMukTM/uITNz4iM1MjLyUzM Implementation ideas 1. Get the mon ...

Posted by Flames on Fri, 21 Feb 2020 15:33:55 +0100

JS array method summary (: ι) ιιιιιιιιιιιιιιιιι...

Catalog Be careful: Directory can be clicked to jump (it's not blue, I'm afraid you don't know) Mobile terminal, can't jump Es3 (including previous) concat pop push shift unshift reverse sort join slice splice toLocaleString toString toSource ES5 Array.isArray indexOf lastIndexOf every some forE ...

Posted by ashrust on Fri, 21 Feb 2020 13:35:29 +0100

Use of java object-oriented 21 interface interface

/* Use of interface s 1. Define an interface using the format of interface interface name {}. The primary purpose of an interface is to be implemented by an implementation class.(interface-oriented programming) 2. Interfaces and classes are side-by-side structures in java. 3, Members inside the inte ...

Posted by y.t. on Fri, 21 Feb 2020 03:46:25 +0100

HDOJ ten day brush question c++

HDOJ10 day question sequence Four or five roads a day (1.1 represents the first road on the first day), from easy to difficult Let's share my results. They are all AC. please give me your opinion~ Article directory 1.1.HDOJ 1000 1.2.HDOJ 1089 1.3.HDOJ1096 1.4.HDOJ1001 1.5.HDOJ 2000 2.1 HDOJ 2001 2.2 ...

Posted by kevinkorb on Wed, 12 Feb 2020 08:47:19 +0100

Complete summary of 23 Java design patterns | Packaged please take away

Design pattern s are a set of repetitive, well-known, categorized, code design experiences. There are three types of design patterns, 23 of which are: Creative mode: Singleton mode,Abstract Factory Mode,Builder pattern,Factory Mode,Prototype mode. Structural pattern: Adapter mode,Bridge mode,Decorat ...

Posted by PrivatePile on Tue, 11 Feb 2020 05:35:50 +0100

Multi level expansion menu based on Bootstrap layout

Multi level expansion menu based on Bootstrap layout Tutorial address: Original address (YouTube) Tutorial of station B: Original reprint (bilibili bili) The content of the two videos is the same, and the second is reprint Design sketch [external link image transfer failed. The source station may h ...

Posted by xgd on Fri, 07 Feb 2020 18:20:30 +0100