Analysis of IO format controlled by controller in C + +

background For the package from C language to C + +, the format control of output stream is a headache. Is the string format control of printf not good? Indeed, many C + + open-source libraries have implemented the format control of printf. Function signature is similar to format (const STD:: String & ...

Posted by Markto on Tue, 25 Feb 2020 21:29:25 -0800

Building a c + + environment for vscode development based on MinGW-w64 on win7 platform

1, Install plug-ins for vscode and cc + + 2, Install and configure MinGW-w64 1. Download and install Download MinGW-w64 After downloading, install. During installation, you can customize or default the installation directory. Options to be set during installation: Version: GCC version, select the ...

Posted by overlordhu on Tue, 25 Feb 2020 21:12:39 -0800

C + + details

Article directory Separation of implementation and declaration Do not use using namespace std; The enhancement of C + + to C language Key 1 references Notes for reference The nature of quotation Pointer reference Constant reference Member function call const to decorate object instance Construction ...

Posted by Jabop on Mon, 24 Feb 2020 23:27:01 -0800

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