C++ Development Tutorial and Knowledge System Now Open for VIP Users

[Image] There is no doubt that C++ is currently the mainstream development language. To learn C/C++, it is essential to build a solid foundation. Their syntax is numerous, and the learning cycle is relatively long, requiring a bit of patience. I was fortunate to study C/C++ for six months in 2015, and after solidifying my … Read more

Handling Lines Containing 0x00 with C++ getline

In C++, when using the <span>getline</span> function to read data that contains <span>0x00</span> (i.e., <span>\0</span>, the null character), issues arise because <span>getline</span> is character-based and will stop reading as soon as it encounters a null character (<span>\0</span>). To read a line that includes the 0x00 character, the following method has been tested and verified to … Read more

Understanding the Differences Between Pointer and Reference Passing in C++

In C/C++ programming, function parameter passing is the core method for data interaction between the caller and the callee. Among them, pointer passing and reference passing are key means to “modify external variables through functions,” but there are significant differences in syntax characteristics, memory mechanisms, and usage scenarios. This article will start from the definition … Read more

cwalk: A Powerful C++ Library for File Path Handling

cwalk is a C/C++ cross-platform library designed for handling file paths. It is lightweight and easy to use, helping developers simplify operations such as path concatenation, parsing, and normalization across different operating systems. To give you a quick overview of the core features of this library, I have compiled the main information: Aspect Description Core … Read more

Cista: An Open Source C++ Library for High-Performance Serialization

Cista is a C++ library focused on high-performance serialization and zero-copy deserialization, making it ideal for applications with stringent performance requirements. The library is designed with efficiency in mind and is easy to integrate into projects. The table below summarizes the main features of Cista for quick reference: Feature Category Details Core Features Serialization and … Read more

Scratch vs C++: The ‘Children’s Building Blocks’ and ‘Precision Gears’ in the World of Algorithms

When it comes to programming, many people fall into the “either-or” fallacy: thinking that Scratch is for “children” while C++ is for “serious programming.” However, few notice that these two seemingly disparate tools actually share the same “soul”—algorithmic logic.Today, we will break down a key question: Are Scratch and C++ “of the same origin” or … Read more

The Philosophy of ‘Laziness’ in C++ Design

In the realm of programming, C++ stands out with its powerful performance and flexibility. However, within this language that pursues ultimate efficiency lies a seemingly contradictory yet profound wisdom—“laziness“ philosophy. This philosophy is not an excuse for idleness, but a well-considered design strategy that profoundly influences the evolution of modern software architecture and offers significant … Read more

Transitioning from C to C++: Basic Concepts

Written on 2025.8.25 Personal Obsidian library, archived to public account. – Universal Header File Standard: #include<iostream> > #include<bits/stdc++.h> >using namespace std; – Input and Output Input cin >> Output cout << – String string (6, ‘A’); #Repeat ‘A’ six times > Access: > for (int i = 0; i < s.size(); i++) > cout << … Read more

Flecs: An Open Source Library Based on C++

Flecs is a high-performance Entity Component System (ECS) designed specifically for game development and real-time simulation systems. It is written in C99 and provides a C++11 wrapper, emphasizing performance, low overhead, and a modular architecture. 📦 Core Features Overview The table below summarizes the main features of Flecs: Feature Category Details Architecture Pattern Entity Component … Read more

Introduction to C++: Object-Oriented Programming – Classes

Object-Oriented Programming – Classes Procedural Programming: A process-centered programming paradigm Object-Oriented Programming (OOP): A programming paradigm centered around objects Encapsulation, Inheritance, Polymorphism Basic Concepts of Classes and Objects A class encapsulates data and methods that share common characteristics, distinguishing them by access levels, to describe or abstract an entity Access levels in a class are: … Read more