freecplus framework - date, time and timer

@[toc] 1, Source code description Freecplus is a C/C + + open source framework under Linux system. Please go to the C language technology network (www.freecplus.net) to download the source code. This paper introduces the time operation function of freecplus framework. The declaration file for functions and classes is freecplus / 65124; freecpl ...

Posted by ow-phil on Mon, 20 Apr 2020 18:04:25 +0200

C + + value polymorphism: between traditional polymorphism and type erasure

Introduction I have a display module: There is a 128 * 64 monochrome on the module Display , A single-chip computer (b) controls the content it displays. The I? C bus of single chip microcomputer is connected to other single chip microcomputer (A) through the row pin bus on four sides, A sends instructions to B, and B draws. B can send the dis ...

Posted by Qbasicboy on Wed, 15 Apr 2020 20:50:35 +0200

Implicit type conversion of C language

Read an article. Bowen , which is described as follows 1 #include <stdio.h> 2 3 int main() 4 { 5 unsigned short a = 1; 6 unsigned short b = 0; 7 8 if (a < (b-1)) //a and b-1 Result-1 All converted to int Type comparison, 1<-1,Obviously false 9 { 10 printf("in if\n"); 11 } ...

Posted by kovudalion on Thu, 02 Apr 2020 08:32:32 +0200

Detailed explanation of PHP FFI -- a new PHP extension method

  With PHP7.4, there is an extension that I think is very useful: PHP FFI (Foreign Function interface), which refers to a description in PHP FFI RFC: For PHP, FFI provides a way to write PHP extensions and bindings to C libraries in pure PHP. Yes, FFI provides high-level languages to call each other directly. For PH ...

Posted by Johan Beijar on Mon, 30 Mar 2020 12:07:14 +0200

Sorting algorithm 01------------------------------------ bubble sorting

1. Sorting algorithm is necessary and often used in programming, which must be learned. 2. In my opinion, the most suitable language for practicing various algorithms is not c language. The syntax of C language itself is simple and straightforward, and there is not much encapsulation, so it is suitable to describe the steps of the algorithm. 1, ...

Posted by adige72 on Fri, 20 Mar 2020 20:04:06 +0100

LED driver of embedded Linux

The difference and connection of different versions of LED driver Compile LED C language LED Imitation STM32 LED Official SDK LED BSP engineering management LED Resources related to this article: 1,Assembly C language imitates STM32 official SDK BSP project management) LED driver 2,SDK_2.2_MCIM6UL ...

Posted by Birdmansplace on Sun, 15 Mar 2020 08:47:12 +0100

Representation and implementation of abstract data type Triplet (Chapter 1: P12)

Preface Note: when using reference for function parameters in data structure textbook, it uses &, while I use * for reference parameters implemented in C. I will analyze the reasons below. Reference, pointer and address are closely related concepts. The address is the address in the computer m ...

Posted by Jenling on Sun, 15 Mar 2020 05:10:28 +0100

c Language Linear Table Order Table

Order Table of Linear Tables Sequence table definition The sequential storage of linear tables is also known as sequential tables.It stores data elements in a linear table in turn using a set of memory cells with consecutive addresses.This makes two logically adjacent elements physically adjacent.Th ...

Posted by MrRosary on Sat, 14 Mar 2020 01:41:45 +0100

char,unsigned char,uint8_t,uint16_t

Article directory char,unsigned char,uint8_t,uint16_t Summary Turn NSString uint8_t,uint16_t On the range of value char int Calculation method of value range sizeof() Some system macros Recommended reading char,unsigned char,uint8_t,uint16_t Summary Basics In C/C + +, char is used to de ...

Posted by VBAssassin on Tue, 10 Mar 2020 04:40:27 +0100

Python quick start notes: day 3

This is a self-study note for preparing for the postgraduate entrance examination. I hope to make a textCNN text sentiment analysis language foundation. The blogger is not a computer major. If the netizens are lucky enough to see this article, if there is any omission in the content of the blog, please ...

Posted by johnbest on Fri, 06 Mar 2020 06:49:48 +0100