Emily's Blog

GROW A BIT EVERY DAY

Skip to content
Menu
  • Home
  • About
  • Topic Learning
  • Project

Category: C/C++

C/C++Posted onApril 12, 2021April 11, 2021

Differences between float, double and long double in C/C++

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,…

Read More
C/C++Posted onApril 8, 2021April 7, 2021

Four Ways to Loop Over A Vector

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…

Read More
C/C++Posted onMarch 22, 2021March 21, 2021

Usage of fopen modes r, r+, w, w+, a and a+

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…

Read More
C/C++Posted onMarch 18, 2021March 21, 2021

[APUE]Synchronization between parent and child processes is achieved using signals

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…

Read More
C/C++Posted onMarch 15, 2021March 21, 2021

An Article to Introduce Detailed Printf Usage

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…

Read More
C/C++Posted onMarch 11, 2021March 21, 2021

[Solved]Sqlite error: SQLITE_BUSY and SQLITE_LOCKED

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,…

Read More
C/C++Posted onAugust 2, 2020August 2, 2020

How to Understand Static Variables/Function in C

Static Storage: static, the same with global variables. They will be Initialized to 0 because they are in static area. There are three kinds of staitc…

Read More
C/C++Posted onAugust 2, 2020August 2, 2020

How to Understand “extern” Keyword in C (example)

If you know the “extern” keyword, but you are not clear about where and why do we need it. You are in right place. “extern”…

Read More
C/C++Posted onNovember 3, 2019November 3, 2019

How to use void * variable?

Today I found I didn’t know how to use void * variable, so I think I need to write it down. Show you the code,…

Read More
C/C++Posted onJuly 20, 2019July 25, 2019

An unusual case of typedef

Several days ago, I saw an unusual case of “typedef”, so I am going to share it with you guys. There you go. Let me…

Read More

Posts navigation

Page 1 Page 2 Next Page

Follow Me

Recent Posts

  • Differences between float, double and long double in C/C++
  • Four Ways to Loop Over A Vector
  • Build Windows 10 Kernel Driver Development Environment
  • SQLite-How to Insert Multiple Rows At a Time In C
  • How to Use SQLite in Visual Studio 2017

Categories

  • C/C++ (12)
  • Database (3)
  • Linux (14)
  • Network (5)
  • Python (4)
  • Topic Learning (1)
  • Tutorials (17)

Archives

  • April 2021
  • March 2021
  • January 2021
  • December 2020
  • October 2020
  • August 2020
  • July 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • November 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019

Recent Comments

  • latest technology. news on pl2303 ttyUSB2: pl2303_set_control_lines – failed: -19
  • software review on How to Build Your Website and Start a Blog only in 6 Steps
  • Best software on A summary of the transition between CString, char *, char [], string, int, double
  • Solmax Global Login on An unusual case of typedef
  • Buy Weed Online on How to Understand “extern” Keyword in C (example)
Get new posts by email
© Copyright 2021 – Emily's Blog
Allium Theme by TemplateLens ⋅ Powered by WordPress