1. Trang chủ
  2. » Kỹ Thuật - Công Nghệ

c by example chua xac dinh 444

7 2 0

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Tiêu đề C by example chua xac dinh 444
Định dạng
Số trang 7
Dung lượng 76,4 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

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

Trang 2

Cover

Contents at A Glance

Table of Contents

Introduction

I Welcome to C

1 What C Is All About

2 Analyzing C Programs

3 Variables and Constants

4 Introduction to Arrays

5 Preprocessor Directives

6 Input and Output

II C's Operators

7 Operators and Precedence

8 Relational and Logical Operators

9 Remaining C Operators

III Controlling Your Program's Execution

10 The while Loop

11 The for Loop

Trang 3

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

Trang 4

VIII Appendixes

A Memory Addressing, Binary, and Hexadecimal

B C's Precedence Table

C ASCII Table

Glossary

Index

Trang 6

disk, where they are called records When you read a record from disk, you generally read that record into a structure variable and 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 stream

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 a 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

Trang 7

company's files There is no quick way the credit card company could read every

record sequentially from the disk that comes before yours Sequential files do not lend themselves to quick access In many

situations, looking up individual records in

a data file with sequential access is not feasible

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

TÀI LIỆU CÙNG NGƯỜI DÙNG