Đang chuẩn bị liên kết để tải về tài liệu:
The C Book1

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

The C Book1Mike Banahan Declan Brady Mark DoranJanuary 19911 Conversionto LaTeX by Ward van Wanrooij. Any layout issues are caused bymy conversion script and do not reflect on the authors. | The C Book1 Mike Banahan Declan Brady January 1991 Mark Doran 1 Conversion to LaTeX by Ward van Wanrooij. Any layout issues are caused by my conversion script and do not reflect on the authors. Also available on-line at http publications.gbdirect.co.uk c_book CONTENTS 1 Contents Preface 1 About This Book. 1 The Success of C. 2 Standards. 4 Hosted and Free-Standing Environments. 5 Typographical conventions. 6 Order of topics. 6 Example programs. 7 Deference to Higher Authority. 7 Address for the Standard. 7 1 An Introduction to C 9 1.1 The form of a C program. 9 1.2 Functions . 10 1.3 A description of Example 1.1 12 1.3.1 What was in it . 12 1.3.2 Layout and comment. 12 1.3.3 Preprocessor statements. 13 1.3.3.1 Dehne statements. 14 1.3.3.2 Summary . 14 1.3.4 Function declaration and dehnition. 15 1.3.4.1 Declaration. 15 1.3.4.2 Dehnition . 15 1.3.4.3 Summary . 16 1.3.5 Strings . 17 1.3.6 The main function. 18 1.3.7 Declarations. 18 1.3.8 Assignment statement . 19 1.3.9 The while statement . 19 1.3.10 The return statement . 20 1.3.10.1 Summary . 21 ii CONTENTS 1.3.11 Progress so far . 21 1.4 Some more programs. 21 1.4.1 A program to find prime numbers. 22 1.4.2 The division operators. 24 1.4.3 An example performing input. 24 1.4.4 Simple arrays. 25 1.4.5 Summary. 27 1.5 Terminology. 27 1.6 Summary . 28 1.7 Exercises. 28 2 Variables and Arithmetic 31 2.1 Some fundamentals . 31 2.2 The alphabet of C . 31 2.2.1 Basic Alphabet. 32 2.2.2 Trigraphs . 33 2.2.3 Multibyte Characters. 34 2.2.4 Summary. 35 2.3 The Textual Structure of Programs . 36 2.3.1 Program Layout. 36 2.3.2 Comment . 37 2.3.3 Translation phases . 38 2.4 Keywords and identifiers. 38 2.4.1 Keywords. 38 2.4.2 Identifiers. 39 2.5 Declaration of variables. 40 2.6 Real types. 41 2.6.1 Summary of real arithmatic. 44 2.6.2 Printing real numbers . 44 2.7 Integral types. 45 2.7.1 Plain integers. 45 2.7.2 Character variables. 46 2.7.3 More complicated types . 49 2.7.4 Summary of integral types. 51 2.7.5 Printing the

TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.