Raspberry Pi Officially Enters the Microcontroller Market with Raspberry Pi Pico

Raspberry Pi Officially Enters the Microcontroller Market with Raspberry Pi Pico

Description: 1. Raspberry Pi has begun to enter the microcontroller market, using its own RP2040 chip, with a main frequency of 133MHz, dual-core M0+, and 264KB of RAM. 2. The entry of Raspberry Pi into this field is primarily for ecological layout, as there are already many such boards on the market. We will see … Read more

C++ Debugging Techniques: Using GDB for Breakpoint Debugging

C++ Debugging Techniques: Using GDB for Breakpoint Debugging

C++ Debugging Techniques: Using GDB for Breakpoint Debugging In C++ development, debugging is an indispensable part of the process. Whether you are a novice or an experienced programmer, mastering effective debugging techniques can significantly enhance development efficiency. This article will introduce how to use GDB (GNU Debugger) for breakpoint debugging, providing detailed code examples and … Read more

Using CMake to Reference Your Own Developed Third-Party Library

Using CMake to Reference Your Own Developed Third-Party Library

Summary Developing your own library in C++ is quite convenient, but making it usable for others can be a bit challenging. It requires understanding the CMake toolset. This article may seem simple, but I spent three days working on this issue. Perhaps I am a bit slow, and with limited learning ability, I will strengthen … Read more

Microsoft Plans to Replace C and C++ with Rust

Microsoft Plans to Replace C and C++ with Rust

Author: Wang Wenjing Yesterday, the Microsoft Security Response Center (MSRC) team updated an article on their official website regarding their latest plan to use Rust as a replacement for C, C++, and other programming languages to improve application security. This plan includes further in-depth discussions on aspects such as spatial memory safety, temporal memory safety, … Read more

Zero-Basis Embedded System Learning: Creating a Pelt

Zero-Basis Embedded System Learning: Creating a Pelt

Years ago, the Fisher wrote a post on his birthday about creating an operating system called a marionette. Years have passed, and there has been no progress. There are many reasons for this, which I won’t discuss here. I just want to tell you, dear readers, that the Fisher is not someone who goes back … Read more

C++ IoT Development: Communication Between Sensors and Devices

C++ IoT Development: Communication Between Sensors and Devices

C++ IoT Development: Communication Between Sensors and Devices In the world of the Internet of Things (IoT), communication between sensors and devices is crucial. As a full-stack programmer, this article will detail how to use C++ for IoT development, particularly focusing on establishing effective communication between sensors and devices. 1. Overview In this tutorial, we … Read more

Exploration of C++ Programming Fundamentals Teaching Empowered by AI, Integration of General and Specialized Knowledge, and Industry-Education Integration

Exploration of C++ Programming Fundamentals Teaching Empowered by AI, Integration of General and Specialized Knowledge, and Industry-Education Integration

0 Introduction The new engineering discipline refers to a field centered on information technology, integrating multidisciplinary knowledge and skills, aimed at cultivating engineering and technical talents with innovation, practical skills, and interdisciplinary capabilities.[1] C++ programming is an essential foundational knowledge in the field of computer science and engineering. With the rapid development of information technology … Read more

C++ Embedded Development: Hardware Interfaces and Real-Time Programming

C++ Embedded Development: Hardware Interfaces and Real-Time Programming

C++ Embedded Development: Hardware Interfaces and Real-Time Programming In today’s rapidly evolving technological environment, embedded systems have become a core component of many electronic products. C++, as a powerful programming language, is increasingly favored in the field of embedded development due to its object-oriented features. In this article, we will explore how to use C++ … Read more

Compiling GCC 15.1

Compiling GCC 15.1

During the May Day holiday, I saw that GCC released a new version, so I decided to experience the std after the module refactoring by compiling GCC myself.Environment: Ubuntu 24.041. Download the source codeYou can use the Tsinghua mirror:git clone https://mirrors.tuna.tsinghua.edu.cn/git/gcc.git [Here you can specify the desired folder name]2. Download the necessary dependenciesEnter the source … Read more

Daily Practice (056): 10 C++ Problems with Detailed Analysis and Source Code Reference

Daily Practice (056): 10 C++ Problems with Detailed Analysis and Source Code Reference

1. Three Numbers in an Array that Sum to a Target Value Problem Description: Given an integer array and a target value, find all unique triplets in the array that sum up to the target value.Input and Output: Input the array and target value, output all triplets that meet the condition.Code Implementation: #include<iostream> #include<vector> #include<algorithm> … Read more