Elementary level of C language – function

1. Concept of function When we mention functions, we immediately think of learning functions in mathematics, such as: y=kx + b. But functions in C language are different from those in mathematics. Wikipedia defines C language functions like this: function, also known as subroutine. A portion of code in a large program, consisting of one […]

Guide to the <head> element in HTML: Detailed analysis of key knowledge points and best practices to help you optimize the head of your web page!

Recommended minimum value The following are the basic elements of any web document (website/application): <meta charset=”utf-8″> <meta name=”viewport” content=”width=device-width, initial-scale=1″> <!– The above 2 meta tags *must* come first in the <head> to consistently ensure proper document rendering. Any other head element should come *after* these tags. –> <title>Page Title</title> meta charset– defines the encoding […]

Vue requirements: realize the function of free positioning of signatures/signatures on the page (essence: drag and drop of elements on the page)

Table of Contents Chapter 1 Effect Display Chapter 2 Understanding Tools 2.1 draggable 2.1.1 Understanding draggable 2.1.2 draggable method 2.1.3 Use examples to understand methods Chapter 3 Effect Realization 3.1 Implementation ideas 3.2 Code implementation 3.2.1 Points involved 3.2.2 Source generation Chapter 1 Effect Display Effect description: Click on the signature and seal in the […]

Data Structure [Elementary]–Sequence List

Table of Contents 1. The concept of linear table 2. Sequence table (1) Concept (2)Classification 1. Static sequence table (use fixed-length array to store elements) 2. Dynamic sequence table (using dynamically opened arrays to store data) (3)Interface implementation 1.Initialization sequence table 2. Destruction sequence table 3. Sequence table capacity check 4. Insert data using sequential […]

vue+elementUI tree selection box, upload attachments, ready to use;

<template> <div style=”margin-bottom: 3.75rem;”> <el-card class=”box-card” :body-style=”{ padding: ‘0px’ }” style=”height: 100%;”> <div style=”margin: 1rem;”> <el-button type=”danger” @click=”delRec”>Delete</el-button> <el-button type=”primary”>Refresh</el-button> </div> <el-table highlight-current-row :key=”key” @cell-dblclick=”doubleClick” :header-cell-style=”{‘text-align’:’center’}” :cell-style=”{‘text-align’:’center’}” style=”width: 100%;margin: 0.25rem;” :data=”tableData.slice((currentPage – 1) * pageSize, currentPage * pageSize)” @selection-change=”handleSelectionchange” border> <el-table-column type=”selection” width=”50px”/> <el-table-column type=”index” label=”serial number” width=”50px”/> <el-table-column prop=”address” label=”title”/> <el-table-column prop=”name” label=”Sender”/> <el-table-column […]

elementUI date type selector and partial date conversion

1. The date picker cannot select across years: <el-date-picker v-model=’timerange’ :picker-options=’rangeoption’ type=’daterange’ placement=’bottom-end’ size=’small’ :clearable=”false” style=’width: 260px;’ range-separator=’to’ placeholder=’Please select a date range’ start-placeholder=’Start date’ end-placeholder=’End date’ @change=’changeBytime’> </el-date-picker> When defined: choiceDate: ”, rangeoption: { onPick: ({ maxDate, minDate }) => { this.choiceDate = minDate.getTime() if (maxDate) { this.choiceDate = ” } }, disabledDate: (time) […]

Exploration and practice of building Window desktop applications using ElementUI components (WinForm)

Tip: Keep your mind clean Before you work on your software, you need to clean up your memory. Throw away everything in your mind for the time being. If you have trouble with something, don’t let it influence you. It is mostly the case that trouble will go away. If the trouble is so heavy […]

antv/g6 element edge, custom edge

Foreword The last article briefly introduced the use of g6, and today I will continue to talk about the element edges of g6. g6 has several built-in edges that can realize some basic graphs. If the built-in edges do not meet the needs, you can also customize the edges. Edge In AntV G6, Edge is […]

go-gin-vue3-elementPlus manually upload files with parameters

Article directory 1. Overall code flow 1.1 Some examples of global Axios 1.2 Upload business 2. Backend part 3. Test samples Go’s mvc layer uses the gin framework. Generally speaking, gin’s formFile is not as well encapsulated as springboot’s. There are many pitfalls in obtaining values. Of course, there are also many pitfalls in using […]