C++ Makes Too Many Poor Design Decisions

C++ Makes Too Many Poor Design Decisions

Author | Jimmy Hartzell Planning | Yun Zhao The author of this article, Jimmy Hartzell, is an expert who teaches advanced C++ courses within his company. However, after returning to “modern” C++, he is very disappointed with the improvements made to this language. In this article, the author will focus on various “warts” of C++, … Read more

Why Is C++ So Powerful?

Why Is C++ So Powerful?

Author: Milo Yip Link: https://www.cnblogs.com/miloyip/archive/2010/09/17/behind_cplusplus.html Thirty-one years ago (1979), a newly graduated researcher invented a new programming language to develop a software project. This researcher, named Bjarne Stroustrup, named the language C with classes, which was later renamed C++ four years later. C++ is a general-purpose programming language that supports multiple programming paradigms, including procedural, … Read more

Commonly Used Linux Commands for Developers (1)

Commonly Used Linux Commands for Developers (1)

Introduction As a developer, using the Linux system is a common practice and a skill that every developer must learn. Being proficient in Linux commands can help you complete tasks more efficiently while using the Linux system. vim Command Today, we will introduce the vim command, which is the pro version of the vi command, … Read more

Configuring MinGW in VSCode for C Language

Configuring MinGW in VSCode for C Language

C Language Editor VSCode VSCode is a personal favorite editor software. I have run three terminals simultaneously in VSCode, developing in Python, Golang, and C language. The download link is as follows: code.visualstudio.com Configuring MinGW in VSCode To configure MinGW in VSCode, follow these steps: Install the C/C++ extension from the extensions in VSCode; Create … Read more

Understanding Pointers in C Language

Understanding Pointers in C Language

Pointers are extremely important in C. However, to fully understand pointers, one must not only have a proficient grasp of the C language but also basic knowledge of computer hardware and operating systems. Therefore, this article aims to explain pointers comprehensively. Why Use Pointers? Pointers solve some fundamental problems in programming. First, using pointers allows … Read more

In-Depth Discussion on Pointer Operations and Address Offsets in C

In-Depth Discussion on Pointer Operations and Address Offsets in C

Question: When performing pointer + operations, how much does the address actually offset? This question is essentially a fundamental issue in C programming. However, I have stumbled on this as well, so I write this as a lesson and a reminder for everyone. We know that the essence of a pointer is a memory address, … Read more

Daily C Language Questions With Explanations

Daily C Language Questions With Explanations

1. The illegal constant is: . A.‘\2’ B. ” ” C.‘3’ D.‘\483’ Answer: D Explanation: A backslash followed by a number is an escape character for an octal number, and octal cannot include the digit 8. 2. The incorrect C language identifier is . A.ABC B.abc C.a_bc D.ab.c Answer: D Explanation: An identifier is defined … Read more

C Language Final Exam Review Summary and Question Bank

C Language Final Exam Review Summary and Question Bank

The final exam is here! How has this semester been for you? Students who are not very confident don’t need to worry, the senior will gradually share final exam materials to help everyone prepare! Today, I bring youa summary of key points for the C language final exam + question bank! Students in need should … Read more

Computer Level 2 Exam C Language Question Bank

Computer Level 2 Exam C Language Question Bank

This question bank is compiled and organized based on the latest exam syllabus requirements, combined with the key points of recent exam questions, forming a complete simulation of the exam. Candidates can conduct targeted training to identify and fill knowledge gaps. This question bank carefully organizes and edits hot exam questions and key points, and … Read more

Cairo: The 2D Graphics Drawing Tool in C Language

Cairo: The 2D Graphics Drawing Tool in C Language

Hello everyone! Today I want to introduce you to a super powerful C graphics library – Cairo. It is not only the cornerstone of the graphics systems in Linux and macOS, but also used in the rendering engines of browsers like Firefox and Chrome. Whether drawing simple lines and shapes, or creating complex user interfaces, … Read more