Overview of C++: Origins, Features, and Development

Overview of C++: Origins, Features, and Development

Overview of C++: Origins, Features, and Development Origins The founder of C++ is Bjarne Stroustrup from Bell Labs, who began designing and implementing this programming language in 1979. C++ was developed based on the C language, originally intended to address some complexity issues that may arise in large software development. In 1985, Stroustrup published the … Read more

C++ Functions: Definition, Invocation, Parameter Passing, and Return Value Analysis

C++ Functions: Definition, Invocation, Parameter Passing, and Return Value Analysis

C++ Functions: Definition, Invocation, Parameter Passing, and Return Value Analysis C++ is a powerful programming language, and functions are a very important component of it. Functions allow us to encapsulate a piece of code for reuse when needed. In this article, we will delve into the functions in C++, including how to define, invoke, pass … Read more

Essential Linux Books for Beginners to Experts

Essential Linux Books for Beginners to Experts

When it comes to Linux, many students’ first impression is: “Linux is too difficult, I haven’t even figured out microcontrollers, how can I understand Linux?” Actually, that’s not the case. You can learn Linux without any hardware background. Due to the vastness of the system, its development is divided into Linux application development and Linux … Read more

How to Set Process Priority in Linux

How to Set Process Priority in Linux

1. Introduction The previous article discussed how to check process priority; this one explains how to set process priority. There are two methods for setting process priority: Command line; Source code; 2. Command Line Method main.c: #include <stdio.h> int main(int argc, char *argv[]) { while(1) { ; } return 0; } Compile: gcc -o proc-pri … Read more

Linux C Programming: Process Control

Linux C Programming: Process Control

(1) Process Concept A process is a program that has been executed. It does not occupy disk space but consumes system memory, CPU resources, and each running process corresponds to its own virtual address space. (2) Concepts of Parallelism and Concurrency The CPU allocates a time slice to each process, and a process can run … Read more

Implementing a DAC0832 to Output a Sawtooth Wave

Implementing a DAC0832 to Output a Sawtooth Wave

Implementing a DAC0832 to Output a Sawtooth Wave – Understanding Digital to Analog Conversion from Scratch Today we will implement an interesting case: using the DAC0832 to output a sawtooth wave. Through this case, not only will we learn the basic principles of DACs, but we will also master the methods for waveform generation. Introduction … Read more

Implementing SPI Communication for Arduino

Implementing SPI Communication for Arduino

Hello everyone, Rabbit Brother is back! Today we are going to learn a super practical communication method – SPI communication. It’s like a “highway” between Arduino and peripherals, allowing data transfer to be fast and stable. Whether dealing with SD cards, displays, or various sensor modules, SPI is a great tool. Let Rabbit Brother guide … Read more

Introduction to Symbolic Math Toolbox in Matlab

Introduction to Symbolic Math Toolbox in Matlab

1.What Is the Symbolic Math Toolbox? The Symbolic Math Toolbox is a functionality in Matlab for operations on symbolic objects. It introduces a special data type – symbolic objects; This data type includes symbolic numbers, symbolic variables, symbolic expressions, and symbolic functions, as well as symbolic matrices and symbolic arrays composed of the above variables, … Read more

Introduction to Matlab App Designer: Common Components (Part 1)

Introduction to Matlab App Designer: Common Components (Part 1)

This article introduces 19 commonly used components in MATLAB App Designer, including buttons, labels, axes, edit fields, radio button groups, toggle button groups, dropdowns, list boxes, checkboxes, trees, tables, sliders, spinners, state buttons, date pickers, text areas, images, hyperlinks, and HTML. There are a total of 21 commonly used components in MATLAB App Designer. Table … Read more

Private Functions in MATLAB

Private Functions in MATLAB

Private Functions A typical MATLAB installation contains hundreds of program files, which users can access simply by entering the file name. While this convenient access method is an advantage, it can also lead to clutter and name conflicts, especially due to the existence of some “helper functions” that are used by other functions but are … Read more