Essential C Language Knowledge Before Revising 408

Essential C Language Knowledge Before Revising 408

It is said that starred candidates have all succeeded in their exams. Follow the guidance to avoid getting lost. Please recommend this to more graduate students. Hello everyone, this is Wangzai~ Many students preparing for the 26th exam do not know how to review for 408, feeling completely lost. They start by reviewing data structures, … Read more

C Language Daily Problems with Solutions

C Language Daily Problems with Solutions

1.String “\\“ABC\“\\“ has a length of . A. 11 B. 7 C. 5 D. 3 Answer Explanation: The string constant consists of several characters, and the string length does not count ‘\0’ (the null terminator character), so in this question, \\ is one byte, \” is one byte, A is one byte, B is one … Read more

Mastering Const in Microcontroller Programming

Mastering Const in Microcontroller Programming

Click the blue text above Follow us! The const keyword in C is crucial, and today we will delve into the definition and practical applications of const so that it is no longer a mystery. In C, the const keyword is an abbreviation for constant, meaning it remains unchanged. It is usually translated as constant, … Read more

Understanding Pointers in C Programming

Understanding Pointers in C Programming

Memory Address After we write a program source file and compile it, the resulting binary executable file is stored on the computer’s hard drive. At this point, it is a static file, generally referred to as a program. When this program is started, the operating system will perform the following actions: 1. Copy the program’s … Read more

Core Syntax of C Language

Core Syntax of C Language

The C language, as a widely used and highly influential programming language, has its core syntax that constitutes the foundation of program design. Mastering these core syntax elements is key to in-depth learning of C language, enabling the development of various efficient and stable programs. Variables and Data Types In C language, a variable is … Read more

Introduction to C Language: From Hello World to Basics

Introduction to C Language: From Hello World to Basics

Hello everyone, today we will talk about the basics of the C language. As an old yet powerful programming language, C is widely used in operating systems, embedded development, game engines, and more. Even in today’s era of various high-level languages, learning C remains an essential skill for programmers. So, how can we quickly get … Read more

Understanding Inter-Task Communication in RTOS

Understanding Inter-Task Communication in RTOS

Follow+Star PublicAccount, don’t miss out on exciting content Author | strongerHuang WeChat Official Account | strongerHuang I came across an interesting question: why do RTOS tasks not use global variables for inter-task communication when bare-metal code uses global variables? Those who have a deep understanding of RTOS principles, or have read RTOS source code should … Read more

Understanding Global Variable Issues in RTOS Tasks

Understanding Global Variable Issues in RTOS Tasks

This issue: A group friend asked a question in the group: In FreeRTOS, a high-priority task changed the value of a global variable, while a low-priority task was waiting in a loop for the value to change; why did the low-priority task not exit the loop and continue execution after the high-priority task changed the … Read more

Why Not Use Global Variables for Inter-task Communication in RTOS?

Why Not Use Global Variables for Inter-task Communication in RTOS?

Follow+Star Public Account Number, don’t miss wonderful content Author | strongerHuang WeChat Public Account | strongerHuang Students who have a deep understanding of RTOS principles or have read RTOS source code should know: RTOS implements inter-task communication usually by a series of pointers. The “effective data” of inter-task communication is actually implemented by pointers pointing … Read more