This article will introduce the differences between float, double and long double in C/C++. There are three parts in this artcile, including definition of float,…
The article will give the code about four ways to loop over a Vector. In the meantime, I also calculate the time for looping over…
This article introduces you how to build Windows 10 kernel driver development Environment, install drivers and build debug environment. Below are the softwares for building…
Previous Preparation I ran the below code in Vistual studio 2017. If you don’t know how to use SQLite in Vistual studio. You can visit my…
Step 1: Install VS2017 I assume you know how to install visual studio 2017. so I ingore this step here. Step 2: Download SQLite component…
Memory Allocation of a C Program Historically, a C program has the following parts: Text segment. Initialized data segment. Uninitialized data segment. Stack Heap Below…
Background I did the following operations, but got an unexpected result. Use fopen function to open a file. Use fprintf function to write two integers…
Question: Write a program to test the five functions mentioned in APUE(TELL_WAIT, TELL_CHILD, TELL_PARENT, WAIT_PARENT, WAIT_CHILD). This process to create a file, write an integer…
Background: One day, I wanted to print an unsigned char itself in the printf function in my code, but I didn’t know what is the…
Background My program has been writing to the SQLite database, which is fine. But when another program (another process) reads, after a period of time,…