Chapter 12: Functions in C Language

Chapter 12: Functions in C Language

Functions are one of the fundamental constructs in the C language, allowing code to be broken down into smaller, more manageable parts. Functions come in different types, depending on whether they accept parameters and return values. Here are four common types of functions: 1. No-parameter, no-return-value function 2. Parameter, no-return-value function 3. No-parameter, return-value function … Read more

30-Day Python Learning Plan – Day 1

30-Day Python Learning Plan - Day 1

30-Day Python Learning Plan – Day 1 ★ Note: This series of notes is a study guide for the Python tutorial on GitHub: https://github.com/Asabeneh/30-Days-Of-Python Introduction to Python Python is a programming language that is very close to human language, with simple syntax that is easy to learn and use. Installing Python: https://www.python.org/ ★ Check if … Read more

My 100 Days of Python Practice: Day 9/100

My 100 Days of Python Practice: Day 9/100

#Iris Flower Mathematics Series This is a record of a challenge to practice Python continuously for 100 days. Out of respect for “setting a flag”, I will try to keep this record going, which is also a way to force output to encourage input; previously, from day one to day eight, the results were good. … Read more

Learning C++ Programming from Scratch, Day 423: Spiral Matrix; Answers to Question Bank; Method 5

Learning C++ Programming from Scratch, Day 423: Spiral Matrix; Answers to Question Bank; Method 5

1208 – Spiral Matrix Clear and Understandable Development Approach 1. What does the program do? This program aims to generate a “spiral matrix”. What is a spiral matrix? Imagine filling numbers in a spiral pattern starting from the top left corner of the matrix, like a snail shell. For example, a 3×3 spiral matrix: text … Read more

C++ Basics 010: Notes on continue and break in Loops

C++ Basics 010: Notes on continue and break in Loops

Click the blueFollow usC++ Basics 010 – Loop ControlLoop Control: continue/break In C++,<span><span>continue</span></span> and <span><span>break</span></span> are two keywords used to control the execution of loops. They are used in the loop body to change the flow of execution. 01 break: Directly “exit the current loop” ✦Function When encountering break in a loop (for, while, do-while), … Read more

IC011 – C++ Output Statements

IC011 - C++ Output Statements

Feiyu BLOG 2023.3.31 Information Technology Education Python Curriculum Teaching Research Topics Academic Level Examination Python Program Design C++ Informatics …… 1. cout Output Statement The cout output statement is a common output statement in C++ language, consisting of two parts: cout and the output operator “<<“ Format of cout statement: cout<<expression<<…… Function: Outputs the value … Read more

Essential C Language Development | A Comprehensive Guide to Makefile: From Basics to Advanced Applications

Essential C Language Development | A Comprehensive Guide to Makefile: From Basics to Advanced Applications

Follow and star our public account for exciting content Source: Internet Makefile is a compilation control file widely used for automating project builds. It defines a series of rules to guide the build process. With Makefile, developers can easily manage compilation, linking, cleaning, and other tasks for large projects. This article will start with the … Read more

Steps to Update the PLC [STM32] Kernel

Steps to Update the PLC [STM32] Kernel

Steps to Update the PLC Kernel Using a serial cable, the steps are as follows: 1. Install STM32CubeProgrammer Download and install the latest version of STM32CubeProgrammer from the ST official website. After installation, open the software. 2. Hardware Connection: After connecting the USB download cable; press and hold the download button near the serial port, … Read more

How to Quickly Understand PLC Programs?

How to Quickly Understand PLC Programs?

How to Understand PLC Programs? 1. Fully understand the process flow of machine automation equipment. 2. Fully comprehend the principles and installation locations of all sensors. 3. Fully understand all actuators including inverters, servo motors, stepper motors, hydraulic, pneumatic, and other mechanisms, their principles, and the reasons for their use. 4. Understand the wiring of … Read more

Fundamentals of Mitsubishi PLC Applications

Fundamentals of Mitsubishi PLC Applications

Mitsubishi PLC Fundamentals of Applications 1. Common Series of Mitsubishi PLC 1. FX Series Features: Compact, economical, suitable for simple control (e.g., FX3U, FX5U). Applications: Small equipment, assembly line control, simple logic control. 2. Q Series Features: Modular design, strong expandability, suitable for complex systems. Applications: Large production lines, multi-axis motion control, networked systems. 3. … Read more