029_programming guru proverbs

Source: Internet
Author: User
Programming guru proverbs

DelphiTutorial Series of books(029)Programming guru proverbs Organize netizens (state)Email:Shuaihj@163.com

:

Part1

Part2

  • Author: Liang zhaoxin
  • Press: Electronic Industry Press
  • ISBN: 7505391410
  • Mounting time: 2003-10-29
  • Published on: February 1, October 2003
  • Start: 16
  • Page number: 500
  • Version: 1-1

Introduction

"I am a program, and a program is me ." Liang zhaoxin's "programming guru proverbs" book is a gathering of Liang zhaoxin's more than 10 years of programming experience. In the past few years when celebrity publishing has become a craze, Liang zhaoxin, who has rich experiences and insights, has not followed suit. This rumor is his first book, which has accumulated a lot of experience. The whole book does not have any fashionable it terms or new ideas, but rather deeply analyzes a lot of knowledge, which helps lay a solid foundation for programming. Only in this way can developers be able to stay away from the fog in the rapidly changing software field, be able to quickly and deeply understand many new problems and knowledge, and be able to cope with future challenges more calmly. I believe this book is of great benefit to the majority of programmers, both from the technical point of view or from the perspective of career guidance.

Directory

Chapter 1 procedure 1

1.1 program = software 1

1.1.1 business software threshold formation 2

1.1.2 recognize your development 4

How did 1.2 Experts Practice 5?

1.2.1 six phases of Master growth 5

1.2.2 differences between junior and senior programmers 7

1.2.3 is it true for programmers to eat youth meals? 9

1.3 correct entry method 11

1.3.1 The standard format is the basis for entry 13

1.3.2 importance of debugging 17

1.4 open thinking 18

1.4.1 importance of dynamic library 19

1.4.2 procedure 20

1.4.3 program predictability 21

Chapter 2 Understanding CPU 23

2.1 8-bit microprocessor review 23

2.2 16-bit microprocessor 24

2.2.1 composition 24

2.2.2 8086 register composition 25

2.2.3 memory addressing 26

2.2.4 interrupt handling 27

2.3 32-bit microprocessor 29

2.3.1 register composition 29

2.3.2 Protection Mode 32

2.3.3 80386 Addressing Mode 32

2.4 [instance]: read 4 GB Memory code analysis in DOS mode 36

2.4.1 program meaning 37

2.4.2 program code 37

2.4.3 program principle 41

2.4.4 some explanations in the program 42

Chapter 4 Windows Operating Mechanism 44

3.1 Kernel Analysis 44

3.1.1 Operating Mechanism 44

3.1.2 le file format 53

3.1.3 Design and Implementation of VxD 59

3.1.4 [instance]: CPU cooling program code analysis 65

3.2 message running mode 82

3.2.1 recognize message 82

3.2.2 message operation in Windows 84

3.2.3 Message Processing instance 87

3.3 structure and composition of GDI 89

3.3.1 composition of GDI 89

3.3.2 relationship between GDI and DirectDraw 91

3.4 thread mechanism 93

3.4.1 thread working method 93

3.4.2 conflict between threads and GDI: main cause of crashes 94

3.4.3 main cause of thread Memory leakage 96

3.4.4 process management 98

3.4.5 synchronization 100

3.5 PE Structure Analysis 103

3.5.1 PE Header 103

3.5.2 table section 113

3.5.3 PE file Introduction 119

3.5.4 PE file extraction 125

3.5.5 PE file resource 129

Chapter 1 Operating Mechanism of programming language 4th

4.1 Assembly principles 133

4.1.1 instructions system 133

4.1.2 methods for compiling and using win APIs 141

4.1.3 [instance]: entry point of the custom program 145

4.2 principles of advanced languages 151

4.2.1 principles of C/C ++ 151

4.2.2 principles of language interpretation 165

4.2.3 [Example]: use C to implement a simple basic language environment 165

4.3 C and C ++ learning methods 187

4.3.1 from basic to C 187

4.3.2 relationship between C, assembly, and API 187

4.3.3 interface creation method 190

4.4 Hook Technology 201

4.4.1 hook 201 for C on Windows

4.4.2 C ++ Hook Technology 213

Chapter 2 code specifications and style 5th

5.1 environment settings 220

5.1.1 set up the integration environment 220

5.1.2 tab Value Setting 221

5.1.3 setting of the compiling environment 222

5.1.4 set herosoft. DSM macro 224

5.2 specification for variable definition 227

5.2.1 variable naming rules 227

5.2.2 local provisions for variable definition 228

5.2.3 variable alignment 229

5.3 code alignment, block, and line feed specifications 230

5.4 quick code sorting method 232

5.5 comments 233

5.6 header file specification 236

5.7 Recommended Rules 236

5.8 flexible use of some rules 238

5.9 standard code example 239

5.10 paired encoding rules 243

5.10.1 Implementation Method of paired encoding 243

5.10.2 paired encoding 248

5.11 correct paired coding Engineering Programming Method 251

5.11.1 before coding 252

5.11.2 Engineering Method of paired encoding 255

5.11.3 explanation of two problems 260

Chapter 1 Analysis Method 6th

6.1 analysis summary 266

6.1.1 Case 1: Software hard disk array 268

6.1.2 Case 2: game memory modification tool 274

6.2 extract 286 of interfaces

6.2.1 split interface 286

6.2.2 parameter analysis 287

6.3 trunk and branch 290

6.3.1 example of trunk and branch analysis 291

6.3.2 program inspection 300

6.4 target or not 301

6.5 DLL-based or not 307

6.5.1 DLL creation and call 307

6.5.2 DLL Dynamic and Static Loading comparison 322

6.5.3 definition of functions in DLL 322

6.6 com structure 324

6.7 Architecture Analysis of Several software systems 326

6.7.1 player decoding composition analysis 326

6.7.2 architecture of Haojie's big eyes: 330

6.7.3 Windows 9x architecture 331

Chapter 1 debugging method 7th

7.1 debugging points 333

7.1.1 debug and program synchronization 333

7.1.2 assembly code validation 334

7.1.3 Win32 debug implementation method 342

7.2 Basic Debugging instance analysis 343

7.3 multi-threaded application debugging 350

7.4 non-fixed error debugging 352

7.4.1 activate debugging environment 352

7.4.2 correctly differentiate error types 356

7.4.3 common accidental errors 357

Chapter 4 kernel optimization 8th

8.1 understanding of data types 358

8.2 x86 optimization code 359

8.2.1 General x86 optimization technology 359

8.2.2 General amd-k6 processor x86 code optimization 361

8.2.3 amd-k6 processor integer x86 code optimization 364

8.3 MMX command optimization 368

8.3.1 MMX registers 368

8.3.2 Working Principle of MMX 368

8.3.3 MMX detection 369

8.3.4 introduction to MMX commands 370

Example 1 of 8.4 MMX: fade in and out of an image: 394

8.4.1 objective 394

8.4.2 solutions 394

8.4.3 analytics 394

8.4.4 initial implementation 395

8.4.5 MMX optimization 401

8.5 MMX Example 2: MMX class implementation method 407

8.5.1 Method Analysis 407

8.5.2 step 407

8.5.3 check process 410

8.5.4 conclusion 416

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.