c by example chua xac dinh 444

7 0 0
c by example chua xac dinh  444

Đang tải... (xem toàn văn)

Thông tin tài liệu

Cover Contents at A Glance Table of Contents Introduction I Welcome to C What C Is All About Analyzing C Programs Variables and Constants Introduction to Arrays Preprocessor Directives Input and Output II C's Operators Operators and Precedence Relational and Logical Operators Remaining C Operators III Controlling Your Program's Execution 10 The while Loop 11 The for Loop 12 Controlling Flow IV Variable Scope and Structuring Code 13 Introduction to C Functions 14 Variable Scope and Structuring Code 15 Passing Values between Functions 16 Returning Function Values V Standard Input, Output, and Intrinsic Functions 17 Device and Character I/O 18 String and Numeric Functions VI Building Blocks 19 Working with Arrays 20 Pointer Storage 21 Using Pointers VII Advanced C 22 Introduction to Structures 23 Arrays of Structures 24 Simple C File Processing 25 Putting It All Together VIII Appendixes A Memory Addressing, Binary, and Hexadecimal B C's Precedence Table C ASCII Table Glossary Index disk, where they are called records When you read a record from disk, you generally read that record into a structure variable a process it with your program Unlike some other programming languages not all C-read disk data has to be stored in record format Typically, you write a strea of characters to a disk file and access that data either sequentially or randomly by reading it into variables and structures The process of randomly accessing data in file is simple Consider the data files of a large credit card organization When you make a purchase, the store calls the credit card company to get an authorization Millions of names are in the credit card company's files There is no quick way the credit card company could read every record sequentially from the disk that com before yours Sequential files not lend themselves to quick access In many situations, looking up individual records i a data file with sequential access is not feasible ...Cover Contents at A Glance Table of Contents Introduction I Welcome to C What C Is All About Analyzing C Programs Variables and Constants Introduction to Arrays Preprocessor Directives... Intrinsic Functions 17 Device and Character I/O 18 String and Numeric Functions VI Building Blocks 19 Working with Arrays 20 Pointer Storage 21 Using Pointers VII Advanced C 22 Introduction to Structures... Controlling Flow IV Variable Scope and Structuring Code 13 Introduction to C Functions 14 Variable Scope and Structuring Code 15 Passing Values between Functions 16 Returning Function Values V Standard

Ngày đăng: 04/12/2022, 14:50

Tài liệu cùng người dùng

Tài liệu liên quan