How to implement a simple search engine?

Description: an English text search engine, currently supports Boolean query, phrase query, free text query. C language implementation only uses some common data structures, such as binary tree, hash table, etc. the following document is the lecture report (not as a tutorial), which may not be very cl ...

Posted by berbbrown on Sun, 16 Feb 2020 03:25:11 -0800

Data structure experiment

Linear table and its application Experiment content: 1. [problem description] a demonstration program is designed to implement the addition operation of any length integer. 2. [basic requirements] realize the storage of long integers by using bidirectional circular list, each node contains one int ...

Posted by ericburnard on Tue, 11 Feb 2020 23:51:45 -0800

Windows: principles of window development

Window development principle 1: Some concepts API: Application Programming Interface, just like the library function of C language, there are packaged functions and interfaces in windows for operating windows applications and operating systems, namely Windows API. The header file is: windows. H (t ...

Posted by dzekic on Sat, 08 Feb 2020 07:26:20 -0800

Device driver model of linux kernel

Device driver model of linux kernel Preface 1, The cornerstone of equipment model -- kobject subsystem Two. General framework of device model -- bus, device and driver model 3, About the drive's virtual memory file system -- Sysfs system Preface At the end of the day, LDD3 was basically finish ...

Posted by rocklv on Sat, 08 Feb 2020 05:35:17 -0800

Reading notes of Dahua data structure -- the fifth chapter series

Article directory 5.2 definition of string 5.3 comparison of strings 5.4 abstract data types of strings 5.5 storage structure of string 5.5.1 sequential storage structure of strings 5.5.2 chain storage structure of string 5.6 simple pattern matching algorithm 5.7 KMP pattern matching algorithm 5.7 ...

Posted by delboy1978uk on Wed, 05 Feb 2020 23:53:11 -0800

C language function: recursion and iteration

A brief introduction to C language functions C language function is a function used to compile c language. Its library function is ctype.h, which is divided into classification function, mathematical function, directory function, process function, diagnosis function, operation function, etc. On the surf ...

Posted by like_php on Sun, 02 Feb 2020 06:19:50 -0800

DataMatrix identification and location project notes -- DataMatrix generator based on QT+libdmtx-0.7.5

The project of generating DataMatrix based on qt and libdmtx, DataMatrix open source coding and identification Library: github of libdmtx: https://github.com/dmtx/libdmtx; The complete project I wrote in qt is: https://github.com/abcvincent/dmtxMaker; GitHub - > doc contains DataMatrix intern ...

Posted by BSTRhino on Sat, 01 Feb 2020 07:08:39 -0800

C language playing airplane games

C language to achieve a simple small game of playing airplane Compiling environment: vs2019 Demand: In the same plane, control the three directions of artillery firing, launch shells in blank space, enemy and friendly aircraft will fly in the sky at random all the time, one point will be added for ene ...

Posted by Scarum on Fri, 31 Jan 2020 02:35:51 -0800

Python full stack advanced programming skills 1. Class and object depth

Article directory 1, Duck type and polymorphism 2, Abstract base class (abc module) 1. definition 2. Application scenario Determine the type of an object Forcing a subclass to implement certain methods 3, Two pairs of concept discrimination 1.isinstance and type 2. Class and object variables 4, ...

Posted by stiano on Wed, 29 Jan 2020 04:13:51 -0800

Java reuse class, polymorphic

Reuse class There are two ways to reuse code: Combination: only the objects of the existing class need to be generated in the new class. The new class is composed of the objects of the existing class, that is, the object reference can be placed in the new class Inheritance: create a new class acc ...

Posted by Transwarp-Tim on Wed, 29 Jan 2020 02:43:19 -0800