Donald alcock illustrating c revised edition

225 574 0
Donald alcock   illustrating c revised edition

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

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Đây là quyển sách tiếng anh về lĩnh vực công nghệ thông tin cho sinh viên và những ai có đam mê. Quyển sách này trình về lý thuyết ,phương pháp lập trình cho ngôn ngữ C và C++.

[...]... formally define concept A without assuming something about concept B, and you can't define B without assuming something about A Books on C have a bit in common with the novel Catch 22 TJfhe aim of this chapter is to introduce, informally, enough simple concepts and vocabulary to make subsequent chapters comprehensible TJhis chapter introduces decisions, loops, characters, arrays, functions, scope of variables,... l; char Ch, k = 'A', dig - V ; l 1 k i 1 'A'l \+fhat can we assume about the relationship of characters? Some aspects depend on the character set employed In ANSI C: ^—v^1 < 'A ' '0 ' f a V < 'c' etc < 'B' < 'C' V < —^-~—^-x ( character J "\x-—v^" "V N^ i digits are stored in ascending order etc '2' J ^character digits are stored contiguously etc 3 '2 v^ etc < s^- both alphabets (Lower & upper casejj... nominated character variable putc (Ch, stdout) (the character sto> in variable Ch is on the screen*/ 2: CONCEPTS = getc ( stdin ) ; if ( Ch == \ n ' ) break; if (( Ch >= V ) && ( Ch . PREFACE ri ^INTRODUCTION CONCEPTION REALIZATION DISSECTION EXERCISES CONCEPTS DECISIONS IF - ELSE LOOPS CHARACTERS ARRAYS MATRIX MULTIPLICATION HOOKE'S LAW FUNCTIONS CALL BY VALUE RATE OF INTEREST SCOPE. VARIABLES RECURSION EXERCISES COMPONENTS NOTATION CHARACTERS NAMES SCALAR TYPES ON YOUR MACHINE CONSTANTS LITERAL CONSTANTS STRING LITERALS NAMED CONSTANTS ENUMERATIONS EXPRESSIONS STATEMENTS

Ngày đăng: 19/03/2014, 14:07

Từ khóa liên quan

Mục lục

  • Cover

  • Illustrating C (Ansi/Iso Version)

  • Copyright

    • 9780521468213

    • Acknowledgements

    • Contents

    • Preface

    • 1 Introduction

      • CONCEPTION

      • REALIZATION

      • DISSECTION

      • EXERCISES

      • 2 Concepts

        • DECISIONS

        • IF - ELSE

        • LOOPS

        • CHARACTERS

        • ARRAYS

        • MATRIX MULTIPLICATION

        • HOOKE'S LAW

        • FUNCTIONS

        • CALL BY VALUE

        • RATE OF INTEREST

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

Tài liệu liên quan