Assembly Language Day 07

Assembly Language Day 07

PrefaceSummer time Establishing a daily learning and note-sharing chapter, here I mainly share some notes I wrote during my learning process. Then I share it with everyone to help with learning. The content of this chapter is not limited to evasion, malicious development, reverse engineering, etc. At the same time, please do not use the … Read more

Fundamentals of Machine Language and Assembly Language

Fundamentals of Machine Language and Assembly Language

1. Basics of Machine Language Composition of Machine Instructions Machine instructions are binary codes that the CPU can execute directly, consisting of two parts: Opcode: Specifies the operation to be performed (such as addition, subtraction, transfer, etc.) Operand: Specifies the target of the operation and the location for storing the result (registers, memory addresses, etc.) … Read more

Assembly Language Day 08

Assembly Language Day 08

IntroductionSummer time This is a daily learning and note-sharing chapter, where I mainly share some notes I wrote during my learning process. I hope to help everyone learn. The content of this chapter is not limited to evasion techniques, malicious development, reverse engineering, etc. Please note that do not use the knowledge gained for illegal … Read more

Functions in C++

Functions in C++

Function Parameters Parameter Type Function Does Not Need to Modify Actual Parameter Function Needs to Modify Actual Parameter Basic Data Types Pass by Value Reference or Pointer Arrays const Pointer Pointer Structures const Pointer or const Reference Reference or Pointer Class Objects const Reference or const Pointer Reference or Pointer The above are just guidelines; … Read more

GESP Level 3 C++ Conversion Problems – luogu-B3926 [GESP202312 Level 3]

GESP Level 3 C++ Conversion Problems - luogu-B3926 [GESP202312 Level 3]

GESP Level 3 exam questions, string-related problems, difficulty ★★☆☆☆. luogu-B3926 [GESP202312 Level 3] Unit Conversion Problem Requirements Problem Description Little Yang’s math homework this week is to perform unit conversions. As someone who enjoys programming, Little Yang decided to write a program to help him solve these problems. Little Yang has only learned about length … Read more

Object-Oriented Programming in C++ (1)

Object-Oriented Programming in C++ (1)

Constructor 1. The compiler provides a default constructor only when no constructors are defined. If a constructor is defined and you want to use the default constructor, you must explicitly define the default constructor. 2. There can only be one default constructor, but multiple constructors can exist. 3. The default constructor can have no parameters; … Read more

Darts-clone: An Efficient and Compact C++ Double Array Trie Library

Darts-clone: An Efficient and Compact C++ Double Array Trie Library

Darts-clone: An Efficient and Compact C++ Double Array Trie Library Darts-clone is a static double array Trie structure library based on C++. It is a clone of Darts (Double-Array Trie System). By optimizing the data structure, it provides more efficient space utilization and fast string lookup capabilities, suitable for applications that require efficient keyword searching. … Read more

The Core Role of Iterators in C++ STL

The Core Role of Iterators in C++ STL

The Core Role of Iterators in C++ STL Introduction In the C++ Standard Template Library (STL), iterators are a very important concept. They provide a unified way to access and manipulate elements within containers without needing to understand the internal implementation details of the containers. This article will detail the basic concepts of iterators, their … Read more

The Necessity of Type Constraints in Complex Generic Programming: A Comparison of C++, Rust, and C

The Necessity of Type Constraints in Complex Generic Programming: A Comparison of C++, Rust, and C

The Necessity of Type Constraints in Generic Programming: A Comparison of C++, Rust, and C AbstractThis article analyzes the critical role of type constraints in avoiding template matching ambiguities by comparing the differences in generic implementations among C++, Rust, and C99. When generic logic is complex and there are templates with the same name, the … Read more