How to Write a Makefile? From Beginner to Expert, All in One Article!

As a programmer, you must have encountered situations where you have to input a long string of commands every time you compile a project. Different files require different compilation options, and even a slight change means retyping the command… If you are troubled by these issues, then Makefile is your savior! What is a Makefile? … Read more

Lighting Up Microcontrollers with 5 Programming Languages: Assembly, C, C++, Python, Rust – Let’s Explore Their Differences!

Lighting Up Microcontrollers with 5 Programming Languages: Assembly, C, C++, Python, Rust - Let's Explore Their Differences!

Follow+Star Public Account Number, don’t miss out on exciting contentAuthor | strongerHuangWeChat Public Account | strongerHuangWith the popularity of the Internet of Things,the demand for microcontrollers is increasing.At the same time, as the performance of microcontrollersimproves and resources increase, microcontroller development is no longer limited to assembly and C language.Today, we will light up LEDs … Read more

Why Does Calling C Functions from C++ Always Result in Undefined Reference?

Why Does Calling C Functions from C++ Always Result in Undefined Reference?

In embedded development, we often encounter a situation where: the underlying driver library is written in C language (<span><span>.c</span></span> file), while the upper application or framework is in C++ (<span><span>.cpp</span></span> file). As a result, when we call it, we get: undefined reference to `xxx_function' Clearly, it is declared in the <span><span>.h</span></span> file and implemented in … Read more

A Guide to Choosing Between Python, C, and C++

A Guide to Choosing Between Python, C, and C++

Many beginners in the programming community ask: “With so many programming languages, which one should I choose: Python, C, or C++?” In fact,there is no “best” programming language, only the “most suitable” one— understanding their core differences and aligning them with your learning goals can help you avoid 90% of the pitfalls. Python, C++, and … Read more

How to Rewrite C++ Programs in C?

How to Rewrite C++ Programs in C?

Due to the C++ interpreter occupying approximately 500k more storage space than the C language interpreter, it is necessary to rewrite source programs written in C++ into C to save limited storage space, reduce costs, and improve efficiency. The biggest difference between C++ and C is the concept and features of classes in C++. The … Read more

The ‘Neighbors’ in Music: Why C and G Are Always Together?

The 'Neighbors' in Music: Why C and G Are Always Together?

Hello students, I am your ‘Teacher Qiqi’. Today, we are going to discuss the topic of the ‘neighbors’ in music—why C and G are always inseparable! Have you noticed that whether singing or playing the piano, there are always two notes that seem like good friends, always appearing together? They are ‘C’ and ‘G’. What … Read more

Empowering Digital Talent: Exploring C and C++ Learning

Empowering Digital Talent: Exploring C and C++ Learning

Students have spent nine weeks on the campus of Central University of Finance and Economics and are about to bid farewell to the golden autumn. I believe everyone has begun to establish a deep emotional connection with this land and has drawn a clear blueprint for their dreams. However, in the pursuit of dreams, everyone … Read more

Introduction To Computer Languages

Introduction To Computer Languages

What!? You Haven’t Followed Us Yet A month into the new semester, everyone must be familiar with our beautiful campus environment. This week, our friends from the Computer Science department will start learning C language. Whether you are already a programming expert or a beginner, we will share some unique insights into computer basics with … Read more

The Mystery of C++ Program Compilation (Part 3)

The Mystery of C++ Program Compilation (Part 3)

What really happens internally when we write a program in an IDE and click the compile button? Why does it generate an executable file? What steps are involved in this process? Is it simple or complex? In this article, we will clarify these matters. First, it is important to clarify that compilation is just a … Read more

Famous Software Written in C and C++

Famous Software Written in C and C++

Click the blue textFollow us Due to changes in the public account’s push rules, please click “View” and add “Star” to get exciting technical shares at the first time Source from the internet, infringement will be deleted We often talk about how powerful C/C++ is, but it’s always just hearsay; we need to see it … Read more